{"id":842,"date":"2011-09-07T13:58:32","date_gmt":"2011-09-07T03:58:33","guid":{"rendered":"http:\/\/www.malcolmgroves.com\/blog\/?p=842"},"modified":"2015-03-13T10:51:09","modified_gmt":"2015-03-12T23:51:09","slug":"os-x-folder-comparison-with-filemerge","status":"publish","type":"post","link":"http:\/\/www.malcolmgroves.com\/blog\/?p=842","title":{"rendered":"OS X : Folder Comparison with FileMerge"},"content":{"rendered":"<p>I know a number of people in the Delphi and C++Builder world are taking their first steps into OS X. To be honest, I&#8217;m not that many steps in either. So I thought I&#8217;d start posting some tips as I strike problems and solve them, so hopefully it&#8217;ll help someone else.<\/p>\n<p>Today&#8217;s problem (and solution) was the need to do a file and folder comparison on OS X. I&#8217;d had a few reports that this blog was not working properly on older versions of Firefox (Firefox 3.6) and wanted to see if I&#8217;d mucked up anything when changing the theme. I downloaded a fresh copy of the base theme and wanted to see all the differences between it and the version I&#8217;m using.<\/p>\n<p><!--more-->I was about to try and dust off my unix command knowledge when I wondered if XCode had anything. A little digging turned up FileMerge in \/Developer\/Applications\/Utilities. Starting it up you are presented with the following screen:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Screen shot 2011-09-07 at 1.44.15 PM.png\" src=\"http:\/\/www.malcolmgroves.com\/blog\/wp-content\/uploads\/2011\/09\/Screen-shot-2011-09-07-at-1.44.15-PM.png\" alt=\"Screen shot 2011 09 07 at 1 44 15 PM\" width=\"526\" height=\"163\" border=\"0\" \/><\/p>\n<p>Despite the Caption, you can actually specify a folder name rather than just a filename. If you do so, and then click Compare, it&#8217;ll present you with a screen showing common files in grey, and files that are either unique to one folder, or different in both folders, in black.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Screen shot 2011-09-07 at 1.50.01 PM.png\" src=\"http:\/\/www.malcolmgroves.com\/blog\/wp-content\/uploads\/2011\/09\/Screen-shot-2011-09-07-at-1.50.01-PM.png\" alt=\"Screen shot 2011 09 07 at 1 50 01 PM\" width=\"575\" height=\"465\" border=\"0\" \/><\/p>\n<p>Selecting one of the black files displays the details of the differences at the bottom, and then clicking on View gives you several options, including Comparison which will bring up a traditional side-by-side view.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Screen shot 2011-09-07 at 1.53.36 PM.png\" src=\"http:\/\/www.malcolmgroves.com\/blog\/wp-content\/uploads\/2011\/09\/Screen-shot-2011-09-07-at-1.53.36-PM.png\" alt=\"Screen shot 2011 09 07 at 1 53 36 PM\" width=\"600\" height=\"481\" border=\"0\" \/><\/p>\n<p>It&#8217;s no <a href=\"http:\/\/www.scootersoftware.com\/moreinfo.php\">BeyondCompare<\/a>, but it helped me find and solve the problem quickly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I know a number of people in the Delphi and C++Builder world are taking their first steps into OS X. To be honest, I&#8217;m not that many steps in either. So I thought I&#8217;d start posting some tips as I strike problems and solve them, so hopefully it&#8217;ll help someone else. Today&#8217;s problem (and solution) [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[77],"tags":[78],"class_list":["post-842","post","type-post","status-publish","format-standard","hentry","category-os-x","tag-os-x-101"],"_links":{"self":[{"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/842","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=842"}],"version-history":[{"count":9,"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/842\/revisions"}],"predecessor-version":[{"id":1770,"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/842\/revisions\/1770"}],"wp:attachment":[{"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=842"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=842"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.malcolmgroves.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=842"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}