Operating System - Tru64 Unix
1832872 Members
2411 Online
110048 Solutions
New Discussion

How to use dirclean?

 
ericfjchen
Regular Advisor

How to use dirclean?

If we need to delete those files which didn't be modified more than 3 days under /data, how do we use "dirclean"?

2 REPLIES 2
Ravi_8
Honored Contributor

Re: How to use dirclean?


Hi

#find /data -mtime +3 -exec -rm {}\;
never give up
Ralf Puchner
Honored Contributor

Re: How to use dirclean?

dirclean is an application, have a look here:

http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/MAN/MAN8/0150____.HTM

or simple man "dirclean", answer should be:
# dirclean +a 3

regards
Ralf

PS: please read the manual next time!
Help() { FirstReadManual(urgently); Go_to_it;; }