I've been using this post as a reference (recursively add file extension to all files) and it has gotten me 90% of the way where I want to be but I'm lost on how to complete the shell script I need.
Here is my script I've made so far:
find /Users/Floyd/Desktop/test -type f -not -name "*.*" -not -ipath "*zworkfolder*" -exec mv '{}' '{}'.mov \;
I want to find all files in the folder "test" that do not have a .mov extension and add the extension to the end of the filename. For the most part it works but I run into a problem when I come up against filenames that have a "." in the filename.
Ex. "A020_C020_0321R7_001_A020_C020_0321R7_001.new.02".
What can I do to make it add a .mov extension to these filenames?
Thank you.
Floyd.