What's the + in find /path/ -exec command '{}' + do? as opposed to find /path/ -exec command '{}' \;
What's the + in find /path/ -exec command '{}' + do?
find
The '+' makes one big command line out of all found files to minimize the number of commands to be run.Given the case that a find command finds four files.find . -type f -exec command '{}' \;would producecommand file1command file2command file3command file4 On the other handfind . -type f -exec command '{}' \+producescommand file1 file2 file3 file4