wilgartw;334877 Wrote: > > > if you run this script whilst in the "/Users/Myusername/Pictures/" > directory > > it will take a file called "1999 - Prince.jpg" and move it to > "/Users/Myusername/Music/Prince/1999" and rename it to cover.jpg > > if "/Users/Myusername/Music/Prince/1999/" does not exist it will create > a line in error.log and leave the file where it is. > > if you wanted to test it with just a small set of files change the > first line to (for eg) for file in 1999*jpg
This looks good. In your example it should move the file to "/Users/Myusername/Music/Flac/Prince/1999 (year of album release)" Will this work? -- laohu ------------------------------------------------------------------------ laohu's Profile: http://forums.slimdevices.com/member.php?userid=10639 View this thread: http://forums.slimdevices.com/showthread.php?t=51628 _______________________________________________ discuss mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/discuss
