So far I have a simple batch script that moves *.mkv files from their source folders to a folder called "Movies". Now I would like FileBot to rename them using the 'find' command, since it (filebot) doesn't seem to support regular expressions. How would I have bash pull a file-name-variable (not sure if this is a thing haha) and use it in find -exec "$FILENAME" kind of pattern?
Here is what I have (pseudo is commented out), I'm sure there's a more efficient way to do this. But hey, I'm a python coder NOT a bash scripter!
mkdir "Movies"
find "Complete/" -iname "*.mkv" -exec mv {} "Movies" \;
#find "Movies/" -iname "*.mkv" -exec filebot -rename "$iname" --db themoviedb"
I need the mv and filebot commands to execute separately as eventually more commands will be called between them.