I am using
rename in Fedora 31 to rename some bulk of folders. Essentially, I want to remove all the spaces from the folder and replace it with dots. I am using following command
rename -v " " "." *
However, above command only replaces first occurrence of space. For example, to shows me following message
'folder with multiple space' -> 'folder.with multiple space'
If I run it again, it will just replace next space. Is there way to replace all at once? Debian/Ubuntu version has
sed type command
"s/ /\./g" which didn't work in my case. It gives me error that not enough arguments.