This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: -exec on find(1) broken
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/