For example, I have 100 files and their names all have blank space. One of them is "
The Monkey King Return (2015).mkv".
How to remove all blank in name and replace with dot character, also remove "(" and ")"?
The result should be "
how I can do this in batch?
I am actually running shell script in my Synology NAS via ssh, which is a BusyBox Linux distribution with bash and ash installed, without gcc. Already tried for serveral days, cannot figure it out properly.
Tools aviable: mv / xargs / sed / awk / other standard linux cmd.
Also how about recursively do the renaming for sub folders as well?
Edit: just installed apt-get and rename cmd into my synology nas by using Debian Chroot from https://synocommunity.com/, so it is ok now.
To make person who need simple answer, the cmd is:
find . -iname \*\ \*.\*|rename 's/\ /\./g'