[vox-tech] Copying/ Moving Large number of files
Foo Lim
foolim at gmail.com
Thu Dec 11 14:30:48 PST 2008
On Thu, Dec 11, 2008 at 1:48 PM, ALLO (Alfredo Lopez De Leon) <
ALLO at novozymes.com> wrote:
> Hi,
>
> I need to move a large number of directories whose size ranges from 1GB to
> 6 GB (multiple files ~400mb each) between two NFS partitions. Which is the
> safest way to do it? Will "mv dir1 /bla/bla/bla/dir1" will suffice? The
> data is extremely valuable and I will hate to lose it during the process,
> should I do "copy" {cp -r dir1 /bla/bla/bla/dir1} instead and then remove
> the originals?
>
> Thanks a lot in advance for your help.
>
>
> Best Regards
> Alfredo Lopez
>
Hi Alfredo,
I would do
md5sum <src files> > md5.txt
cp -pr <src> <dest>
md5sum -c md5.txt
rm <src>
Or do the same md5 steps but write to DVD & use sneakernet to be even safer
(with an added benefit of having a backup also).
HTH,
Foo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lugod.org/pipermail/vox-tech/attachments/20081211/ce2849a2/attachment.htm
More information about the vox-tech
mailing list