Hello!

I try do delete all files older then 7 days.

# date
Mon Mar 10 04:23:30 UTC 2003

firewall: -root-
# ls -ltr `find /storage/www/logs -type f -mtime +7`
-rw-r--r--    1 nobody   root            0 Mar 10 03:42
/storage/www/logs/ssl_scache.dir
-rw-r--r--    1 root     root          294 Mar 10 03:42
/storage/www/logs/errors-20030310.log
-rw-r--r--    1 nobody   root         1024 Mar 10 04:17
/storage/www/logs/ssl_scache.pag
-rw-r--r--    1 root     root        10564 Mar 10 04:17
/storage/www/logs/ssl_request-20030310.log
-rw-r--r--    1 root     root        10198 Mar 10 04:17
/storage/www/logs/access-20030310.log


Why does "find" find the files above? They are only 1 day old.

Cu
--
Lars Kneschke
http://www.kneschke.de
written with FeLaMiMail





-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com

_______________________________________________
leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to