Re: [newbie] OT - bash-how to operate on nested directories

2002-04-07 Thread Todd Slater
On Sun, 7 Apr 2002 15:53:07 -0400 Todd Slater <[EMAIL PROTECTED]> wrote: > I can generate a playlist using: find /tunes -type f -follow -name > '*.ogg'-o -name '*.mp3' -o -name '*.MP3' | sort > myplaylist.m3u. This > includes all the files in all the folders in /tunes. > > But what if I want to

[newbie] OT - bash-how to operate on nested directories

2002-04-07 Thread Todd Slater
I'm trying to write a script to generate m3u playlists of all my mp3s and oggs. Then I'll create a cron job so that my m3u lists get updated from time to time. I can generate a playlist using: find /tunes -type f -follow -name '*.ogg' -o -name '*.mp3' -o -name '*.MP3' | sort > myplaylist.m3u. Th