In Linux, how can I recursively copy files and directories in such a way that all of the copied files and directories will have a name that windows can handle?
I want to copy a folder into a shared directory or USB device that uses Windows file name restrictions, without failing or losing any files/folders (prefer to change name rather than to lose data).
\\?\…
) but this is inconvenient in daily use. Sets of names that "device (filesystem) can hande", "Windows can handle" or "common Windows programs can handle" differ. It's not really clear which one you want.explorer.exe
). OK, let me rephrase: is Windows involved at all? (what Windows then?) Or you just need to store files on a non-Linux filesystem (what filesystem?) and still use them with Linux only.