I wish to find all .docx files, and append them a string. This is my current code, which has a little bug
find -name '*.docx -execdir mv {} {}$string \;
Files are renamed, but string is added like this filename.docx_string and not like that filename_string.docx.
This will do the trick and descend into the subdirectories.
The
sed -eportion will perform a regex substitution for.docx.