2

I've been copying large amounts of files from a Linux backup to a NTFS partition. The purpose is to have all files accessible from Windows.

From this experience I've learned the following.

  1. NTFS appears to support all characters that Ext4 support.
  2. Windows does not and will complain in weird ways
  3. Windows will delete those annoying files during a full scan and "repair"

I'm looking for a solution that will complain a early and prevent me from writing files on a partition that a windows disc repair would delete.

Is there a way to copy files onto a NTFS partition allowing only file name characters accepted by windows?

5

If you're using ntfs-3g to mount your NTFS filesystem, the windows_names option will prevent files with problematic names from being created:

ntfs-3g -o windows_names ...
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.