How and when is {} replaced by find
A user at https://community.unix.com asked how find passes the name of a matched file to a sub-process in order to replace the {} placeholder.
The {} placeholder is used with the -exec option to find. The -exec option takes a command, including command line arguments, and executes the command for each file or directory matched by previous tests.
For example, if you are searching all regular files to try and find where the shell’s PATH variable is set, you could execute the following:
More ...