syntax question

George Georgalis george at galis.org
Fri Mar 15 10:42:23 PST 2002


I would use tmpwatch
       tmpwatch - removes files which haven't been accessed for a period of time

If you must us find I would use -atime which is based on most recent
reads not changes and 'n*24 hours ago' means days.

// George

On Fri, Mar 15, 2002 at 10:10:57AM -0800, Jeanne Diaz wrote:
>I am trying to write a script  that us the find the command.
>
>The question is, when I use the flag option -mtime and -ctime, the 
>description states it's n*24.  Is the "24" included
>or is it something manually we have to multiply to "n"?
>
>If you were looking for files to be removed that are 3+ weeks old, would 
>you be using -mtime or -ctime?
>
>Thanks
>Jeanne
>
>
>

-- 
GEORGE GEORGALIS, System Admin/Architect    cell: 347-451-8229 
Security Services, Web, Mail,            mailto:george at galis.org 
File, Print, DB and DNS Servers.       http://www.galis.org/george 



More information about the KPLUG-List mailing list