find missing parameter

Fri Jun 30 08:05:00 GMT 2006

I have a small problem with find command
whenever I specify the -exec option this error is displayed

/cygdrive/c/workdir: find  . -name "db*" -mtime +2 -type f -exec /bin/rm {}
find: missing argument to `-exec'

tried quotes - single double ... with/without path to rm or any other
command (ls)
removing the exec returns the correct file
Best Regards, Guy Przytula
View this message in context:
Sent from the Cygwin Users forum at

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list