[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SLUG] Calling all Regex champions



<quote who="Jamie Wilkinson">

> find /usr/local/mp3 ! -name '/usr/local/mp3/mp3/*' -print >
> ~/.xmms/xmms.m3u
> 
> Someone may want to correct me on my find syntax, but you get the idea.

I use this script as my XMMS launcher:

#!/bin/sh
find /home/jdub/Sound/music/ /home/jdub/Sol1/mp3/ -type f -name "*" | sort > ~/.xmms/xmms.m3u
exec /usr/bin/xmms

/dev/hdc5             6.9G  5.1G  1.7G  75% /home/music
stinky:/public/mp3    9.3G  8.2G  712M  93% /home/jdub/Sol1/mp3

Nyuk, nyuk, nyuk. :) [ Yes, most of the NFS ones are MP3's, but mine are
mostly OGGs. ]

- Jeff

-- 
                    Mangoes are nature's edible orgasm.                     

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug