On Thu, Dec 11, 2008 at 1:48 PM, ALLO (Alfredo Lopez De Leon) <span dir="ltr"><<a href="mailto:ALLO@novozymes.com">ALLO@novozymes.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
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?<br>
<br>
Thanks a lot in advance for your help.<br>
<br>
<br>
Best Regards<br>
Alfredo Lopez<br>
</blockquote></div><br>Hi Alfredo,<br><br>I would do<br><br>md5sum <src files> > md5.txt<br>cp -pr <src> <dest><br>md5sum -c md5.txt<br>rm <src><br><br>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).<br>
<br>HTH,<br>Foo<br>