Alex Rivera | Logout

Unix find command, what are the {} and \; for?

Asked 2009-01-15T14:56:28.293
20

With this set of commands, what are the {} and \; characters for?

find . -name '*.clj' -exec grep -r resources {} \;
Edit
Report

1 Answer

2

Consider this alternative command which I find easier to understand:

find . -name *.clj | xargs grep -r resources 
answered 2009-01-16T01:25:49.817

Your Answer