On Tue, 20 Feb 2001, Kevin Wood wrote:

> Hey there,
>
> I was wondering if anyone knew of a good command that would help me
> determine if a file was older than a specified date.  The reason I need
> this is that I am doing some botched versioning control and I need to move
> files that are dated older than 30 days off to another directory.  Does
> someone have a script or a good command to do this?
>
> Any help would be greatly appreciated.
>
> Thanks
>
> Kevin
>
You may want to look at the find command. "man find" or "info find".

"find -mtime +30" will probably list the file you want.

Mikkel



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to