Mirage:~/Data/CD aquarion$ find . -name *.m4p
| sed -e"s/m4p/mp3/g"
| while read FOO;do BAR=$(basename "$FOO");locate "$BAR" | tail -1; done
| while read FOO ; do cp $FOO .;done
Okay, so I need to do the rm *.m4p afterwards, but still.
So, question one, what does it do, and question two, what is it for?
Those who spoke on this:
© 2000 to 2008 inclusive
Nicholas AvenellAll comments are the property of their creators, published with permission
(Unless otherwise indicated, the opinions and sentiments expressed on this site are those of the author and not of any organisation of which he is an affiliate, including his employer. Caveat Lector, E&OE.
sigh)
0.650 seconds, 22 queries, 2.65Mb on Mon, 25 Aug 2008 22:52:48 +0000
Generated by
Epistula Version 2.0.3
Pol:
It would appear to try and locate all of the MP3s on your system which also exist as AAC and then copy the MP3 to the current directory.
I’d guess you use it for copying the converted elements of your ITMS for upload to a portable MP3 device.
D:
You missed “Mirage:~/Data/CD” at the start.
He’s making a backup of his music. :)
-Dx
Aquarion:
Pol ‘s closer. The CD is for my MP3 playing CD Player, which doesn’t do AAC.