[HPADM] RE: removing unix files by hours scripting



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@xxxxxxxxxxxxx
[mailto:hpux-admin-owner@xxxxxxxxxxxxx] On Behalf Of j appleseed
Sent: Saturday, March 25, 2006 8:56 AM
To: hpux-admin@xxxxxxxxxxxxx; majordomo@xxxxxxxxxxxxx
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@xxxxxxxxxxxxx
Name: hpux-admin@xxxxxxxxxxxxx Owner:
owner-hpux-admin@xxxxxxxxxxxxx

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@xxxxxxxxxxxxx
Name: hpux-admin@xxxxxxxxxxxxx Owner: owner-hpux-admin@xxxxxxxxxxxxx

Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only)
http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)