@DaemonFools find -type f -name \*.flac -exec bash -c 'i="{}"; o="/full/path/to/folder/tagged/${i}"; [[ -d "${o%/*}" ]] || mkdir -p "${o%/*}"; ffmpeg -i "$i" -i /need/full/path/to/foldersm.jpg -map a -map 1:v -disposition:v attached_pic -metadata:s:v comment="Cover (Front)" -codec copy "${o}"' \;