Reputation: 2923
Invoking GnuWin32's find.exe . -name "foo" -exec backup.bat {} \;
produces the following error:
find: missing argument to `-exec'
What is the proper syntax?
Upvotes: 0
Views: 2167
Reputation: 2923
Call GnuWin32 find.exe this way:
find.exe . -name "foo" -exec backup.bat {} ;
Escaping the semicolon is unnecessary in the Windows Command Prompt.
Upvotes: 1