-exec on find(1) broken

Alexander.Farber@nokia.com Alexander.Farber@nokia.com
Tue Oct 9 08:59:00 GMT 2007


Then you better use xargs:

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


> -----Original Message-----
> [mailto:cygwin-owner@cygwin.com] 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/



More information about the Cygwin mailing list