find missing parameter

prz Guy.Przytula@riziv.fgov.be
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: http://www.nabble.com/find-missing-parameter-tf1871842.html#a5116344
Sent from the Cygwin Users forum at Nabble.com.


--
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