Then you better use xargs:

      find . -type f -mtime +18 -print0 | xargs -0 rm -i


> -----Original Message-----
> [mailto:[EMAIL PROTECTED] On Behalf Of ext Paul McFerrin
>      find . -type f -mtime +18 -exec /bin/echo {} \; | more
> 
> is the correct syntax.  Now I just replace "/bin/echo" with "/bin/rm" 
> and I ready to go.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to