I have the following script for a HandBrake folder
find "$TRANSCODEDIR"/* -type f -exec bash -c 'HandBrakeCLI -i "$1" -o "${1%\.*}".mp4 --preset="$PRESET"' __ {} \;
I want to add the rm (remove) command at the end of this line so that Hanbrake finishes with the file to remove it.
source
share