1833156 Members
3256 Online
110051 Solutions
New Discussion

Re: finding dated files

 
SOLVED
Go to solution
u856100
Frequent Advisor

finding dated files

Hi all,

Can anyone enlighten me on the command used to find files that have been created on a specified date or later? for example, I need to find files that have been created later than the 20th feb so I can copy these out before running frecover.

thanking you kindly,

John
chicken or egg first?
2 REPLIES 2
Darrell Allen
Honored Contributor
Solution

Re: finding dated files

Hi John,

Use find with -newer.

Touch a reference file:
touch 02200000 /tmp/ref

/tmp/ref will be date/time stamped Feb 20 00:00

find /dir -newer /tmp/ref

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
u856100
Frequent Advisor

Re: finding dated files

Darell,

thanks, thats superb.

chicken or egg first?