Can using cp command corrupt files transferred across different filesystems? Should I be using something like rsync instead? [closed]

StackOverflow https://stackoverflow.com/questions/15312032

Frage

I am trying to copy files from one hard drive to another in my home server using the cp command. I am copying from an NTFS-formatted partition to an ext4 partition on a new hard drive I have installed.

Is it possible for the cp command to corrupt the transferred files?

Should I be using something like rsycn to verify file integrity is checked upon completion instead?

War es hilfreich?

Lösung

I would use rsync.

rsync can give you additional checksums, but the real power is the ability to resume after interruptions. This really helps for large files like VMs.

This really is more a serverfault question - See copying-a-large-directory-tree-locally-cp-or-rsync.

Andere Tipps

rsync should be better than cp when copying files.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top