Re: [Familiar] Re: tweaking ide and hdparm settings

Andrew Bernat <[email protected]>
Newsgroups gmane.comp.handhelds.linux.intimate
Message-ID <Pine.LNX.4.21.0110131327160.26556-100000__30925.610572058$1115030508$gmane$org@brie.cs.wisc.edu>
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                                                  __ ____
[email protected]                                                |  | |
[email protected]                                                  | |
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.