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

    Nov 26, 2013
    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 regular

    Dec 27, 2012
    You can use the terminal to compare directories
  3. NoBoMac macrumors 68000

    Jul 1, 2014
    As said, Terminal:

    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


    Jan 13, 2014
    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