In article <>,
Enkidu <> wrote:
>On Fri, 17 Sep 2004 13:35:52 +1200, Lawrence D'Oliveiro
><_zealand> wrote:
>
>>In article <>,
>> Barry <> wrote:
>>
>>> cp -ax /mounted_filesystem /mnt/dest/
>>
>>This will work, but I prefer rsync:
>>
>> rsync --archive --delete --one-file-system
>> /mounted_filesystem /mnt/dest/
>>
>>One reason is that, should the transfer be interrupted for any reason,
>>rsync makes it much easier to resume from where you left off--just
>>reexecute the same command, and it'll figure it out. That's why I put in
>>the "--delete", so it'll keep track of any changes to the source
>>filesystem in the meantime.
>>
>cp -axu will resume on interruption.
That only looks at modification times, and I don't think it'll work
properly with partially-copied files. rsync looks at contents, so it
will correctly finish partial files.
|