[SLUG] Creating a playlist

Fintan Gaughan fgaughan at gmail.com
Sat May 6 20:32:19 BST 2006


On 06/05/06, Mike Bennett <mikeyben at gmail.com> wrote:
> > 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
>


Ahh brilliant
This has worked :-)

Fintan




More information about the Scarborough mailing list