Ubuntu – Incomplete file transfers to USB drive with Nautilus

nautilususb

Sometimes when I copy or move some files to my USB drive Nautilus says the transfer is completed but when I unplug the USB drive and plug it back in again the file that I copied or moved is not there. This is very annoying.

Is there any way to fix this?

Best Answer

As a part of the copy process, the data is buffered into memory and then written to disk. Writing the data to disk takes time, but the software (nautilus) does not show the pending operation.

For details, see

Copy to USB memory stick really slow?

The time required to sync varies by file system on the flash drive and some people have experienced slow write times with NTFS. This seems to be an as of yet unidentifed kernel (ntfs driver).

Why is usb file transfer so slow in 12.10?

At any rate, you want to sync, or write the data from the buffer to the flash drive before you remove it. This principle is true with all OS. Use the eject feature or on the command line,

sync
Related Question