it is very impotant where the quotes are, and what type of quotes are used.
NEWDIR=`ls -d "../../Music/Flac/$ARTIST/$ALBUM"*` note the single quotes. they are backwards, it is the one above the tab key. this single quote says "execute the command, and use the output" the double quotes tell the "ls" command that the filename is all one file/dir ie allow spaces once $ARTIST has been inetrpreted. the ls -d says print the name of the directory. and the * says complete the name of the album (ie add in the year). hope you get this working, you are very close. unfortunately i cannot access this forum from work. but i will log on again this evening -- wilgartw ------------------------------------------------------------------------ wilgartw's Profile: http://forums.slimdevices.com/member.php?userid=19007 View this thread: http://forums.slimdevices.com/showthread.php?t=51628 _______________________________________________ discuss mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/discuss
