Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: Re: playlist using dos dir command

Re: playlist using dos dir command

From: BlueChip <cs_bluechip_at_webtribe.net>
Date: Sat, 01 Jan 2005 23:44:48 +0000

DIR /? suggests:

/O List by files in sorted order.
sortorder N By name (alphabetic) S By size (smallest first)
              E By extension (alphabetic) D By date & time (earliest first)
              G Group directories first - Prefix to reverse order
              A By Last Access Date (earliest first)

eg "dir /on"

Or maybe use:

"sort < randomfile.txt > sortedfile.txt"

The default sort order is called "AsIs" ...ie. the order in which the files
were created (given nothing has been added after a deletion had been made.)

BC

>blast from the past here :
>
>is there a way to make dos sort the list with alphabetical directory
>structure? near as i can tell, it is using a FIFO approach currently.
>
> > > -----Original Message-----
> > > From: Matthew Daubenspeck [mailto:matt_at_oddprocess.org]
> > > Sent: Monday, January 06, 2003 1:20 PM
> > > To: Rockbox (E-mail)
> > > Subject: Re: Playlist creation under windoz
> > >
> > >
> > > On Mon, Jan 06, 2003 at 12:36:41PM -0500, David Reis wrote:
> > > > The following command line may be executed on any windows/DOS
> > machine,
> > and
> > > > will generate a playlist named "All_MP3s.m3u".
> > > >
> > > > C:\MUSIC>dir *.mp3 /s /d /b >All_MP3s.m3u
> > > >
> > > >
> > > > dir === system directory command (like ls)
> > > >
> > > > /s === will include subdirectories
> > > >
> > > > /d === like wide format in a single column
> > > >
> > > > /b === Bare format
> > >
> > > This never works for me (Under Win2k anyway) as it always adds the
> > > Drive letter to the front of everything. So I use linux and forget
> > > about Windows :)
> > >
> > >
> > >
> >
>
>_______________________________________________
>http://cool.haxx.se/mailman/listinfo/rockbox

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox
Received on 2005-01-02

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy