My Ubuntu (18.04) drive is synchronised with a Windows drive. Some of my folder and file names in Ubuntu contains characters not allowed in Windows and this causes issues during sync. I want to find these characters and either remove them from the file/folder names or replace these characters by an "x". This needs to be done recursively across the folder/directory tree.
How can I do this quickly?
Here are the characters forbidden in Windows (modified from Christopher Oezbek's answer):
< (less than) > (greater than) : (colon - sometimes works, but is actually NTFS Alternate Data Streams) " (double quote) \ (backslash) | (vertical bar or pipe) ? (question mark) * (asterisk)