> > cd /ud/TEST/_PH_
> > find . -mtime +90 -exec rm {} \;
> > With "find" you're working with one file at a time so you should never
> hit
> > the limit.
> >
>

Another point to remember is using xargs you can control the number of files
in each rm.

For example

find . -mtime +90  | xargs -l20 rm (deletes 20 at a time).

A little testing will help you with a sensible number but this speeds things
up a lot.

HTH
Adrian
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to