I want my script to recursively rename all .mov
files to _Proxy.mov
, BUT I also want it to SKIP any files already named _Proxy.mov
. The below command is still renaming all .mov
files, and is ignoring the negate function !
.
find . -name '*.mov' ! -name ‘*_Proxy.mov’ -exec bash -c 'mv "$0" "${0%\.mov}_Proxy.mov"' {} \;