for file in *.movdo echo mv “$file" “${file/MP4./}"done
Source: osx – how can I batch rename files using the Terminal? – Stack Overflow
for file in *.mov
do
echo mv "$file" "${file/MP4./}"
done
for file in *.movdo echo mv “$file" “${file/MP4./}"done
Source: osx – how can I batch rename files using the Terminal? – Stack Overflow
for file in *.mov
do
echo mv "$file" "${file/MP4./}"
done
is encouraged. Often the command line can provide a more elegant and efficient solution when compared to doing a similar task with a graphical user interface.
Source: Python Scripts as a Replacement for Bash Utility Scripts | Linux Journal