[LAU] use your pc as an music player (and save energy)

James Cameron quozl at us.netrek.org
Sun Mar 29 18:42:14 EDT 2009


On Mon, Mar 30, 2009 at 12:23:45AM +0200, Grammostola Rosea wrote:
> frank pirrone wrote:
> > ls -1 *.ogg > ogg_playlist
> > mplayer -playlist ogg_playlist
> >
> > and you're in business.
> >   
> I think you mean
> 
> ls *.ogg > playlist
> 
> ls -l doesn't work here.

No.  Check your mail reader fonts with this; "l1l1l1l1l1l1l1".

You wrote "-l" (letter L lowercase), but Frank wrote "-1" (digit
one).  The minus one syntax forces the listing to be one per line.

On the other hand, ls(1) normally assumes one per line output when it is
sent to a file or pipe, so the minus one syntax is not needed, but not
harmful.

-- 
James Cameron    mailto:quozl at us.netrek.org     http://quozl.netrek.org/



More information about the Linux-audio-user mailing list