PDA

View Full Version : How to compare folders


shaka
Aug 13, 2006, 03:56 PM
I have folders on my network that seem the same, but then I see 1 has less files in than the
other. (back up of my download directory for example) how do I compare the two and see what the difference is. I am hope thaat path finder can do this.

:confused:

grotsasha
Aug 14, 2006, 01:01 AM
Path Finder doesn't have this ability, but you can use FileMerge if you have Developer Tools installed. It can compare not only text files line per line, but also directories.

Arundel
Mar 14, 2007, 11:36 AM
/vote to offer this feature

And I'll put my money where my mouth is. :cool: Path Finder is already worth owning.

FileMerge in short, is not a solution. There are several other apps (Google: mac folder compare) that are friendlier and won't grip your CPU so tight.

psmackey
Jul 27, 2007, 09:36 AM
I'll add my vote for "compare contents of this directory to that one" as a future feature, since I often need to compare folder contents across various archive drives as to which one contains the most recent modified date, or missing files.

(I could probably also use Folder Synchronizer's Preview function to do this, but embedding this feature in PathFinder would make an already excellent tool even more "excellent-er"...)

adamswick
Jan 25, 2008, 12:42 PM
1. Make sure View / Path Navigator is selected in the Path Finder menu.
2. In PathFinder, navigate to one of the folders you wish to compare. Make sure the Path Navigator reflects the selected folder.
3. Click on the "Bottom Drawer" icon in PF, or select View / Bottom Drawer from the menu. A terminal window should open.
4. After the dollar sign prompt, type:
diff<space>.<space> (replacing "<space>" with a single space).
5. Now click command-t to open a second tab. Navigate to the second folder you wish to compare, as in step 2 above.
6. You may now do one of two things:
a. right-click the Path Navigator and select Copy Path / UNIX from the pop-up menu. Right-click after your Unix command from step 4 and select Paste from the pop-up menu.
b. OR, click one level to the left of the folder in Path Navigator (the folder's parent) and click-and-drag the second folder you wish to compare from the results pane down to the Unix prompt.
7. The terminal window should now show:
diff<space>.<space><path to second folder>
8. Click return/enter to view the results.
9. You may click File / Save from the Path Finder menu to save the comparison results as a text file.

This seems like quite a bit of work, but it really isn't. Once you try it a couple of times, it becomes very easy with Path Finder. Tabs aren't required for the process, but make it easier when copying the paths or if you wish to redo some steps. You can also replace the dot in the Unix command with the path of the first folder, but this is unnecessary work.

gihrig
Feb 26, 2008, 09:27 PM
I too cast a vote for a diff/merge feature.

My favorite is winmerge http://winmerge.org/ which, as the name implies is, alas available for Windoz only.

My favorite features:

1. Ability to select a file/folder by right clicking and selecting "compare to", navigate else where, right and select "compare" for an instant comparison of file or folder contents.

2. The read-ability, I find understanding the differences in files easier than others.

3. Ease of merging file differences.

I have used Developer/ FileMerge and find it so-so. I am also a fan of eclipse (I'm a java developer), but I find eclipse's merge feature second rate compared to WinMerge.

Just the addition of basic WinMege like features to PathFinder would be really killer!

-Glen