PDA

View Full Version : Mac Slept during copy but file size is same - is it safe?




gwelmarten
Sep 30, 2012, 09:21 AM
Hi

I just copied 300GB from HDD to MacBook Pro. Mac went to sleep at 270GB through it but I woke it up 10 minutes later. It carried on copying. Size of both folders is the same in bytes (344,074,897,565 bytes). Does this mean it's safe and that the data is not corrupted? That the copy was sucessfull?

If not, how can I verify it?

Thanks,

Sam



mrapplegate
Sep 30, 2012, 10:29 AM
Hi

I just copied 300GB from HDD to MacBook Pro. Mac went to sleep at 270GB through it but I woke it up 10 minutes later. It carried on copying. Size of both folders is the same in bytes (344,074,897,565 bytes). Does this mean it's safe and that the data is not corrupted? That the copy was sucessfull?

If not, how can I verify it?

Thanks,

Sam

You can check the SHA1 (http://osxdaily.com/2012/02/05/check-sha1-checksum-in-mac-os-x/) hash. Or the MD5 (http://osxdaily.com/2009/10/13/check-md5-hash-on-your-mac/) hash of the files to compare. They should both be the same.

gwelmarten
Sep 30, 2012, 11:00 AM
You can check the SHA1 (http://osxdaily.com/2012/02/05/check-sha1-checksum-in-mac-os-x/) hash. Or the MD5 (http://osxdaily.com/2009/10/13/check-md5-hash-on-your-mac/) hash of the files to compare. They should both be the same.

Hi
Thanks for that. Problem is that it is a folder with millions of files and these don't support folders. Is it likely that it just worked, or is it unlikely and I need to re-copy it all?

Sam

mrapplegate
Sep 30, 2012, 11:02 AM
Hi
Thanks for that. Problem is that it is a folder with millions of files and these don't support folders. Is it likely that it just worked, or is it unlikely and I need to re-copy it all?

Sam

Oh my, your right. I was not thinking very well. Sorry.

Maybe make a Disk Image of the folder on each place and get the hash that way if you need to be sure.

If the file size is right, it might have copied. Does the MacBook Pro have Power Nap? Maybe it finished then. If it does that sort of thing. Edit: Looks like power nap won't continue a file copy.