05-11-2005
56,
0
Join Date: Nov 2001
Last Activity: 30 April 2012, 9:31 AM EDT
Location: Paris, France
Posts: 56
Thanks Given: 0
Thanked 0 Times in 0 Posts
Sorting mp3
Hi all...
Here's my question:
-> considering i've got thousands of mp3s', named like "Artist name - Track Name", how could i write a shell (ksh, or bash my favorite, not knowinf enough any other language) that would create a directory (if not existing already) with the Artist's name, and move the corresponding files in it?
i've gave it a try with awk, but i can't get by the spaces in artists's name/track name...
And yes, another thing as soon as there are more than 2 songs of a same artist, create the directory..
Any suggestions would help!! A complet script would be ok, but help to build my one will be fine too!
Thanx all..
Jason
Last edited by penguin-friend; 05-11-2005 at 12:27 PM..