I use find to get the path to my directory and I want to use sed to redact ALL the files under the directory that have been modified more than n days
I run this:
find "$path" -type f -mtime +$days -exec sed -i.bak -E -f redact.sed {} \;.
$path: path to current directory.
$days number of days since lost modified.
What is wrong with this? More specifically, I don't know what to put after redact.sed to get it to run all files under the directory.