On Tue, 26 Dec 2000 19:32:28 GMT, Jeffrey Hood
>I need to write a bash script that will remove all files older than 7
>days from a dir... and can't seem to figure out how to get the date part
>to the find command...
"older" is a little vague.. The date in 'ls -l' corresponds to what
'find -mtime' does.. So a find . -mtime +7 should be the point looking
Philipp Buehler, aka fIpS | sysfive.com GmbH | BOfH | NUCH | <double-p>
%SYSTEM-F-TOOEARLY, please contact your sysadmin at a sensible time.
Artificial Intelligence stands no chance against Natural Stupidity.
[X] <-- nail here for new monitor