[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

find/ls most recent files



I have a directory that's gotten out of hand with several hundred
files.  I'm looking foractive files, and normally would do 
ls -tr 
to find the most recently-modified files -- but the list is so huge
it's difficult.  So I tried:

find . -maxdepth 1 -f file -atime -2 

but while this seems to return the right files (can't be sure) they're
not sorted by time.  So what solutions do other people use?

matt

--------------------------
 .''`.       Matt Price 
: :'  :      Debian User
`. `'` 	     & hemi-geek
  `-     
-------------------------- 
if you're an evil spambot, these addresses are for you:  aardvark@derailleur.org, zeus@derailleur.org



Reply to: