• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

copy command to duplicate and validate drive

ddoud

Limp Gawd
Joined
Sep 21, 2004
Messages
200
Hi,

I want to check my copy command before I back up all my data from one drive to another. I'm also interested in validating the data that is copied, so if theres a way to check that, please let me know!

Command: cp -R /mnt/driveA /mnt/driveB

Thanks
-d
 
My thinking is that you'll use md5sum and have to write a simple script to compare the two directories.

thank goodness for google, someone's already done it:

http://www.comp.eonworks.com/scripts/cpverify


If you run the script and get no errors/output, its 100% verified. If there are problems, it will tell you what they are.
 
rsync -avP /source/dir/ /dest/dir

be careful with the /'s. How I posted should work well.

Rob
 
Back
Top