Summary: Nawk script

From: Szilágyiné Szabadkai Éva <>
Date: Tue Jan 11 2005 - 06:55:41 EST
Thanks to all for their prompt response. The best was

    Pal Baranyai       and
    Peter Ondruska

My original question was how  to delete *trc files beeing older then today.
Of course it works with find.
The solution is:

     touch timestamp
     find <dir>  -type f -name \*.trc  !   -newer  <timestamp>   -exec rm -f
{}  \;

Best regards,
sunmanagers mailing list
Received on Tue Jan 11 06:56:07 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:41 EST