[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[LDM #JKP-884859]: Scour delete by hour not day



Jeffrey,

> I would like to have scour delete by hours old and not days,
> I realize I would have to specify minutes.
> I did a search in the support archives and came across this
> http://www.unidata.ucar.edu/mailing_lists/archives/ldm-users/2004-May/002106.html
> 
> as Tom noted the change he posted was included,
> so the question is.. Can Scour delete by hours and not days

The "scour" utility is a shell script that uses the "find"
utility to determine what files to delete.  Unfortunately,
there is no standard way to specify a modification time in
minutes: the "-mtime" option uses days and the "-mmin" option
(available on some but not all systems) is non-standard and,
consequently, cannot be used by a portable script.

Sorry.

> Jeff Lake
> MichiganWxSystem

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: JKP-884859
Department: Support LDM
Priority: Normal
Status: Closed