Comment Re:-exec as a test (Score 1) 2362
find is especially useful when dealing with a huge number of files. I once had to copy a crapload of files (over 12000) from a specific directory in one of our client's server to another directory, and cp was outright refusing to take so many arguments.
I solved it with find . -exec cp {} /path/to/directory \;, since this way cp would execute on one file at the time.
I solved it with find . -exec cp {}