Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
On Mon, 26 Mar 2007, Pottinger, Hardy J. wrote:
This took exactly 10 seconds to find in Freshmeat:
http://home.wanadoo.nl/squell/id3.html
I've been testing the Windows version under Cygwin. Example command:
find . -name \*.[Mm][Pp]3 -type f -print0 | xargs -0 id3 -M -12 -c "source: 6"
Note the use of find with "-print0" and xargs with "-0": This causes it
not to fail when there is a space in a filename. The find command is just
finding all .mp3 (or .MP3 or .mP3 or .Mp3) files in the current directory
and all subdirectories, confirming that they are regular files and not
directories. Then xargs sends every file to id3 which processes them with
the following options:
-M maintain original date stamp
-12 do both ID3v1 and ID3v2
-c add comment, in this case "source: 6"
(I'm just keeping track of where I got the MP3 file.)
Anyway, this was really sweet. It was much faster than I thought it would
be. The only problem I'm still having is that it doesn't seem to be able
to work with the "Encoded" tag.
Best,
Mike
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members