From: Bellows, Bambi (bbellows@usg.com)
Date: Mon Mar 27 2006 - 12:36:10 EST
Create a touch file with a specific time (touch -t) and then remove them
using a find command with the -newer flag and an -exec rm.
HTH,
Bambi.
-----Original Message-----
From: hpux-admin-owner@DutchWorks.nl
[mailto:hpux-admin-owner@DutchWorks.nl] On Behalf Of j appleseed
Sent: Saturday, March 25, 2006 8:56 AM
To: hpux-admin@dutchworks.nl; majordomo@dutchworks.nl
Subject: [HPADM] removing unix files by hours scripting
HI,
I need assistance on removing files base on thier created time stamp ,
I need to remove (old) files every 12hours.
Platform is hpux 11.
perl or shell are available.
Thanks for your help.....
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's
FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-- ---> Please post QUESTIONS and SUMMARIES only!! <--- To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl Name: hpux-admin@dutchworks.nl Owner: owner-hpux-admin@dutchworks.nl Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only) http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search) -- ---> Please post QUESTIONS and SUMMARIES only!! <--- To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl Name: hpux-admin@dutchworks.nl Owner: owner-hpux-admin@dutchworks.nl Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only) http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)
This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:52 EDT