ls -lRc sorts individual directories by time.....

any good way to get a "unified" sorted listed (of all subdirectories)
without resorting to 'sort'?

[EMAIL PROTECTED] wrote:
> 
> ls sorts them for you, if you ask it.  how about
> 
> ls -lRc
> 
> find -mtime -5
> 
> if you are intimidated by man ls and man find, try info fileutils and
> info find.
> 
> On Fri, 30 Jun 2000, Jim Reimer wrote:
> 
> > s/b +0.42 - and it's going to sort by month, which will put
> > may after june - may not be what you want.
> >
> > Jim Reimer wrote:
> > >
> > > ls -l -R | sort +0.43
> > > ought to sort the files/directories by date.
> > >
> > > (+0.43 is tells sort to sort on field 0, offset to the 43rd
> character.
> > > there's a not-very-good explanation of that in the man page for
> sort.)
> > >
> > > can't help much with your second question (sorry).
> > >
> > > Dan de Haan wrote:
> > > >
> > > > I have a directory with several subdirectories.  What I wan to do
> is
> > get a
> > > > list of all the files that are in there, and the directories below
> (ls
> > -R
> > > > like) sorted by the creation date.  I have tries ls -l -R | sort
> > <several
> > > > different options> but I can't get it to work.
> > > >
> > > > I would also like to find out which file in these directories are
> new
> > from
> > > > the last 5 days.  How would I do that?
> > > >
> > > >                         -Dan
> >
> > -
> Lawson
> 

-- 
Regards,
Jim Reimer - WA5RRH
[EMAIL PROTECTED]
http://www.webzone.net/jdreimer

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to