[SLUG] Creating a playlist
Mike Bennett
mikeyben at gmail.com
Sat May 6 18:42:25 BST 2006
> find /home/fgaughan -name \"*.mp3\" -print >>.playlist;find
> /home/fgaughan -name \"*.ogg\" -print >>.playlist
I made a shell script from your commands and it didn't work, I think
because of the slashes and the missing psace (although these are just
guesses because I created my own script from scratch and those are the
differences).
I did a find command at the console and then CPed it into a shell
script. So anway:
find /home/mike -name "*.mp3" -print >> .playlist
find /home/mike -name "*.ogg" -print >> .playlist
Seemes to work quite well. I dropped it into playlist.sh and made it
executable and bingo.
Hope this helps,
Mike
More information about the Scarborough
mailing list