Is there a way to "verify" the contents of two folders?

Discussion in 'OS X Yosemite (10.10)' started by ibis ghost, Dec 7, 2014.

  1. ibis ghost macrumors member

    Joined:
    Nov 26, 2013
    #1
    I've sync'd two folders from a backup that I had and it includes about 22k songs.

    Is there a way to verify that every song file copied over?

    I get some varied size calculations because one folder came from a Windows PC formatted hard drive over to a NAS drive.
     
  2. Sangoma macrumors member

    Joined:
    Dec 27, 2012
    #2
    You can use the terminal to compare directories
     
  3. NoBoMac macrumors 6502a

    Joined:
    Jul 1, 2014
    #3
    As said, Terminal:

    Code:
    diff -r -q folder1 folder2 > TranscriptFile
    Send it to a transcript file so you can open in a text editor and view/search easily. Depending on Terminal settings, might lose some of the output.
     
  4. jdphoto macrumors 6502

    jdphoto

    Joined:
    Jan 13, 2014
    #4
    You can also run the rsync command in terminal, it will make sure the destination definitely has everything from the source folder and if you run the command back the other way the two directories will definitely be in sync.

    rsync -auv /source/directory/path /destination/directory/path
     

Share This Page