Sometimes, you need to pipe several commands with find -exec, you can do it using the sh command!
Example:
1 | find . -exec sh -c 'cat $0 | rot13 | grep -q toto' {} \; -print |
Sometimes, you need to pipe several commands with find -exec, you can do it using the sh command!
Example:
1 | find . -exec sh -c 'cat $0 | rot13 | grep -q toto' {} \; -print |