May I suggest adding a sanitation command that would replace all spaces and various OS's reserved characters from file names and directory names?
Not sure if there is a need for that, :tr should be able to do the job. Something like:
but I hit unnoticed bug while testing it (thanks for that!), so the command should be like this in current version:
You can define a command:
command! sanitize :tr/ ?<>\\:*|"/__________
xaizek, what happens when renaming in a text editor a file name that contains a line break?
It won't work. Displaying such names is not really nice too. Luckily, it's very rare case, because it's also the one which is hard to handle in various situations.
That kind of a tool can be useful,
especially when copying between file systems (like copying to FAT or NTFS on GNU/Linux), and the name would have to be corrupted anyway.
but as can be seen from your acronis.com link, what to replace is OS-, user- and file-dependent. Maybe if it shows a menu where you can customize your defaults?
Some GNU/Linux examples: