Apr 22, 2004 #1 TSch Technical User Jul 12, 2001 557 DE Hi folks, I'm trying to automatically (via crontab) delete all files in a specific folder, that are older than one day ... How can I do this ? Regards, Thomas
Hi folks, I'm trying to automatically (via crontab) delete all files in a specific folder, that are older than one day ... How can I do this ? Regards, Thomas
Apr 22, 2004 #2 appi IS-IT--Management Mar 17, 2003 296 CH Hi Thomas, why not use find ? find /tmp -mtime 1 -exec rm{} \; this works on solaris, i do not know the exact sysntax on aix, but look in man find for it hth Upvote 0 Downvote
Hi Thomas, why not use find ? find /tmp -mtime 1 -exec rm{} \; this works on solaris, i do not know the exact sysntax on aix, but look in man find for it hth
Apr 22, 2004 #3 hfaix MIS Nov 25, 2003 596 US Yeah, that find command will work on AIX. Is this something you want to happen regularly? If so, why not consider skulker? Upvote 0 Downvote
Yeah, that find command will work on AIX. Is this something you want to happen regularly? If so, why not consider skulker?