hi everybody,
I have a situation where I need to replace spaces in filenames on a large scale.
Is there any way to do this with Ansible?
hi everybody,
I have a situation where I need to replace spaces in filenames on a large scale.
Is there any way to do this with Ansible?
yes, but for that specific task i would use the `rename` command with
expressions
There are accepted patches in the pipeline which add an “–all” parameter to the rename
command, so you can replace all the spaces in one go instead of just the first one. Alas, that has not made it to a released version yet. Soon, though, I hope.