View previous topic :: View next topic |
Author |
Message |
alinv Guru
Joined: 19 Nov 2002 Posts: 395 Location: Bucharest
|
Posted: Fri Sep 02, 2005 10:45 am Post subject: |
|
|
tragor wrote: | # cd /mnt/hda1
# find . -print | cpio -pamd /mnt/hdb1 |
cpio silently failed to copy a 3+ Gb file to the new location (the file was created, but zero-sized).
I would recommend using either tar
Code: | (cd /path/to/source ; tar cpsO .) | (cd /path/to/destination ; tar xf -) |
or cp -a , as previously stated.
BTW, either method is faster. _________________ Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better.
S.B. |
|
Back to top |
|
|
revertex l33t
Joined: 23 Apr 2003 Posts: 806
|
Posted: Wed Oct 19, 2005 7:07 am Post subject: |
|
|
I'm surprised nobody sugested rsync. |
|
Back to top |
|
|
alinv Guru
Joined: 19 Nov 2002 Posts: 395 Location: Bucharest
|
Posted: Wed Oct 19, 2005 7:23 am Post subject: |
|
|
revertex wrote: | I'm surprised nobody sugested rsync. |
Usually, this is a one-time job, and I don't think rsync is that efficient. _________________ Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better.
S.B. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|