Re: [Q] find old files and sort it?

From: Bill Verzal (BVerzal@KOMATSUNA.COM)
Date: Thu Apr 24 2003 - 11:38:22 EDT


-exec ls -ltr
___________________________________________
Bill Verzal
AIX Admin/Komatsu America
(847) 970-3726 (v)

|---------+---------------------------->
| | L |
| | <leed@CHELE.CAIS.|
| | NET> |
| | Sent by: IBM AIX |
| | Discussion List |
| | <aix-l@Princeton.|
| | EDU> |
| | |
| | |
| | 04/24/2003 10:31 |
| | AM |
| | Please respond to|
| | IBM AIX |
| | Discussion List |
| | |
|---------+---------------------------->
>-------------------------------------------------------------------------------------------------------------------------------|
  | |
  | To: aix-l@Princeton.EDU |
  | cc: |
  | Subject: [Q] find old files and sort it? |
>-------------------------------------------------------------------------------------------------------------------------------|

We have IBM AIX 4.3.3. I wrote a script try to find all files (include
sundirectories) and list it date (reverse order). The script did work
correct. Can anyone give me a hint?

find /apps/dir1 -mtime +30 -exec ls -lt {} \;

Thanks



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:46 EDT