|
|
A Perl script to find duplicate iTunes tracks
Can anyone make this executable for "Person Who Knows Poop About Perl"? I have gotten a ton of emails on this particular article like I'm the one who wrote it. Perl newbies are clueless. How about a hand?
poopless perl executable
first the above single line is in fact a perl executable as it is written.
but if you want to hide the complexity of this in a file then:
open a terminal window and cut and paste the following into the terminal followed by pressing control-D. The
next make it executable:
this will run from the command line as: voila. But as I said the original 1 line perl is executable from the command line and would go nicely inside an applescript I leave it to you to wrap a dropplet apple_script around the single line command.
Darn html!!!
arggh! its so hard to get code to show up right in these comment boxes. The last one was missing the <> symbol since it got removed by the htlp filter.
poopless apple script dropplet perl version
here is an applescript droplet. This dropplet takes an exported song list file and replaces it with a new file that contains only the duplicate names. the original file is not deleted but rather renamed with a ".orig" suffix.
poopless apple script dropplet perl version
here is an applescript droplet. This dropplet takes an exported song list file and replaces it with a new file that contains only the duplicate names. the original file is not deleted but rather renamed with a ".orig" suffix.
Perl newbies
Hey, I don't think that the guy who wrote the article is clueless, if he did get the script to work for him. So he might know somethin somethin about Perl. I noticed he mentioned your name in it. Sorry Doug, you'll have to deal with the emails by yourself. Do you know who hypert is?
---
Perl newbies
I am well aware that the guy who wrote the hint is not clueless. I just don't think he anticipated the large number of people who would be enthralled by his hint who also don't know the first thing about Perl scripting. Can't blame him for that! (I address this in another comment in the main thread.)
Sorry
I'm sorry Doug. I don't know what I was thinking. I need to learn better. Sorry if I offended you in any way. :)
--- |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:Hints1 new Hints in the last 24 hoursComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.23 seconds |
|