Operating System - HP-UX
1833685 Members
4020 Online
110062 Solutions
New Discussion

Alternative for Tru64 Program - dirclean

 
SOLVED
Go to solution
Steve Lowe (IL)
Occasional Contributor

Alternative for Tru64 Program - dirclean

Just moved our main server from Compaq Tru64 platform to our new HP-UX server.

One HP docs page indicated that HP-UX does not have dirclean executable.

Alternatives for the newbie on HP-UX.

Steve
2 REPLIES 2
Bill Hassell
Honored Contributor
Solution

Re: Alternative for Tru64 Program - dirclean

Like the docs say, dirclean is a replacement for find and rm...there is no single program so you would use find ..options... -exec rm {} \;

find has a lot of options so duplicating dirclean should be fairly easy.


Bill Hassell, sysadmin
Steve Lowe (IL)
Occasional Contributor

Re: Alternative for Tru64 Program - dirclean

find . -mtime +15 -exec rm {}\;