Today, I had to rename a lot of files in cascade. Instead of having to do this manually, I had made some search to automate this in minimal. The result is the following PowerShell command :
Dir | Rename-Item ?NewName { $_.name ?replace ?replace_pattern?,?new_pattern? }
So to replace all dots by spaces, the command is :
Dir | Rename-Item ?NewName { $_.name ?replace ?\.?,? ? }
Don’t forget the \ character to escape the special characters.
See you soon