I can find the files I'm looking for with something like this:
find . -name "*.mp3";
What I want is something like this:
find . -name "*.mp3" -exec openssl enc -e -aes-256-cbc -in path/to/file.mp3
-out path/to/file.enc -pass pass:pass;
But I have no idea how to reference the files which are found with find in the -exec portion of the command.
{}
. – Chris Davies Jun 02 '15 at 23:17