Re: Shell Script to Remove Old Files



Frank Cusack wrote:
On Wed, 04 Apr 2007 19:39:49 +0200 Michael Tosch <eedmit@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
We are using the following cron job to clean an ~ftp/pub directory
on an ordinary UFS file system.
Policy is: delete files >182 days and >30 days unread.

huh. Does 182 days correspond to 6 months? If so, why not 31 days unread?
-frank

Yes. So one month is 30.333 days.


--
Michael Tosch @ hp : com
.



Relevant Pages

  • Re: Shell Script to Remove Old Files
    ... on an ordinary UFS file system. ... delete files>182 days and>30 days unread. ... huh. ... Does 182 days correspond to 6 months? ...
    (comp.unix.admin)
  • Re: Shell Script to Remove Old Files
    ... on an ordinary UFS file system. ... delete files>182 days and>30 days unread. ... huh. ... Does 182 days correspond to 6 months? ...
    (comp.unix.admin)