On Sat, 13 Oct 2001, Adam Lydick wrote:
> My idea for a quick hack was:
>
> for n in /mnt/udrive/mp3dir/*
> do cp $n /tmp/tmp.mp3
> mpg321 /tmp/tmp.mp3
> done
>
> (This breaks for mp3's with spaces in their names, and mp3s that would
> fill the ramdrive, a more sophisticated script could be written ;)
Spaces aren't bad, just add double quotes around the $n. The mp3s that
would overflow would just never get played, and the mpeg player would
gripe.
Drew
-- Drew Bernat Paradyn Project __ ____ bernat_at_cs.wisc.edu | | | abernat_at_zathras.net | |Received on Sat Oct 13 2001 - 10:28:17 EDT
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:21:11 EDT