Article 6HRRR Faulty copy to USB drive exfat

Faulty copy to USB drive exfat

by
keirvt
from LinuxQuestions.org on (#6HRRR)
I wish to restore a scientist works from Lacie drives to archive in a library.
There are many drives of this research with thousands of files. About 5 percent have bad filenames. (Colons slashes in filename)

The Lacie Drives Are apple probably "HFS file system. These drives mount okay on my Mint Linux system although the file system is read only for some reason.

My problem is that many (not all) Jpeg files and Photoshop files are corrupted after being copied to a USB drive. ( 2.5" SA external Serial ATA USB3.0 - apparently "super speed".) These brand new drives are formatted as exfat. This is convenient in case some files are greater than 4 gig and also should be readable by other academics on a Windows machine.

I tried copying using rsync, the unix cp command and even python's shutil.copytree. All these methods resulted in jpegs and Photoshop and Word documents being corrupted. I tried a different brand new drive with the same problem.

If I copy by dragging the icon, the copy works okay but because there are unrecognised file names the copy is halted with an error message with the option to cancel or skip. No option to skip on subsequent errors. If clicking on skip, the copy continues but then a little later it halts again on another unlawful file name. It will take too long to copy the many files and drives if it keeps stopping and requiring a click.

It may be the exfat file system that is the problem. Has anyone else encountered this?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments