Mac Slept during copy but file size is same - is it safe?

Discussion in 'OS X Mountain Lion (10.8)' started by gwelmarten, Sep 30, 2012.

  1. macrumors 6502

    Joined:
    Jan 17, 2011
    Location:
    England!
    #1
    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
     
  2. macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #2
    You can check the SHA1 hash. Or the MD5 hash of the files to compare. They should both be the same.
     
  3. thread starter macrumors 6502

    Joined:
    Jan 17, 2011
    Location:
    England!
    #3
    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
     
  4. macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #4
    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.
     

Share This Page