3 ms·
The '{}' is where 'find' substitutes the filename into the '-exec' expression. The '/.' is pointless but harmless, conservative ass-covering, likely because th
by blasdel 18y ago
The '{}' is where 'find' substitutes the filename into the '-exec' expression.
The '/.' is pointless but harmless, conservative ass-covering, likely because the author was burned by leaving off a trailing slash before. They're already restricting types to files anyway!
The semicolon terminates the -exec expression, and has to be escaped with a backslash so that the shell won't interpret it.
- tdavis 18y agoThank you! My intuition was correct about the '{}', but the rest was educational.