Can anyone help me with this?
In a big diretory tree i need to replace all white space in directory names by underscores.
In de test below i just replaced [:blank:] with a separate part for a space and (below that) a tab
The problem i encounter is:
It also finds folders in a wrong level like:
f:folder-is-okfolder with blanksfolder-is-also-ok
and i want to change these
like:
f:folder-is-okfolder with blanksfolder-is-also-ok
in:
f:folder-is-okfolder_with_blanksfolder-is-also-ok
so both $FullFilePath and $withoutwhitespace are full pathnames like f:directory1directory2 but the DirMove fails.
This is a part of the script that doesn't work:
btw: $oldpath = <filled in by selecting a directory>
Tuatara