{"id":1286,"date":"2016-02-16T03:20:03","date_gmt":"2016-02-15T15:20:03","guid":{"rendered":"http:\/\/www.funk.co.nz\/blog\/?p=1286"},"modified":"2019-07-25T07:32:57","modified_gmt":"2019-07-24T19:32:57","slug":"opendiff-automator-service","status":"publish","type":"post","link":"https:\/\/www.funk.co.nz\/blog\/technology\/things-related-to-mac-os\/opendiff-automator-service","title":{"rendered":"Compare Two Text Files Using OpenDiff macOS"},"content":{"rendered":"<h2>Right-click to open in FileMerge \/ OpenDiff<\/h2>\n<p>This Automator Service will give you a context menu in Finder, so you can compare two selected text files in <strong>opendiff<\/strong>.<\/p>\n<p><strong>Download macOS Service:<\/strong> <a href=\"https:\/\/www.funk.co.nz\/blog\/wp-content\/uploads\/2016\/03\/Compare-in-OpenDiff-Master.zip\" rel=\"\">OpenDiff.workflow<\/a><\/p>\n<p>To install this needs to either be double-clicked on (it will then disappear) or to be placed manually in:<\/p>\n<pre><strong>~\/Library\/Services<\/strong><\/pre>\n<p>To open this folder in Finder choose [shift][command][G] from the finder and paste the path above.<\/p>\n<p>This is handy to show the difference between two files, with graphical guides to show where the differences in the files exist.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2287\" style=\"-webkit-user-drag: none; display: inline-block; margin-bottom: -1ex;\" src=\"https:\/\/www.funk.co.nz\/blog\/wp-content\/uploads\/2016\/02\/right-click-compare-with-opendiff.jpg\" alt=\"\" width=\"590\" height=\"805\" srcset=\"https:\/\/www.funk.co.nz\/blog\/wp-content\/uploads\/2016\/02\/right-click-compare-with-opendiff.jpg 590w, https:\/\/www.funk.co.nz\/blog\/wp-content\/uploads\/2016\/02\/right-click-compare-with-opendiff-416x568.jpg 416w\" sizes=\"auto, (max-width: 590px) 100vw, 590px\" \/><\/p>\n<p>Right click to compare by opening in OpenDiff<\/p>\n<p><strong>Requirements:<\/strong><\/p>\n<p>You will need <strong>opendiff<\/strong>\u00c2\u00a0to run at the Terminal Window. Install XCode or the \"command line tools\" to get this.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2292\" src=\"https:\/\/www.funk.co.nz\/blog\/wp-content\/uploads\/2016\/02\/Screen-Shot-9.jpg\" alt=\"\" width=\"554\" height=\"488\" srcset=\"https:\/\/www.funk.co.nz\/blog\/wp-content\/uploads\/2016\/02\/Screen-Shot-9.jpg 554w, https:\/\/www.funk.co.nz\/blog\/wp-content\/uploads\/2016\/02\/Screen-Shot-9-416x366.jpg 416w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Right-click to open in FileMerge \/ OpenDiff This Automator Service will give you a context menu in Finder, so you can compare two selected text files in opendiff. Download macOS Service: OpenDiff.workflow To install this needs to either be double-clicked on (it will then disappear) or to be placed manually in: ~\/Library\/Services To open this [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-1286","post","type-post","status-publish","format-standard","hentry","category-things-related-to-mac-os"],"_links":{"self":[{"href":"https:\/\/www.funk.co.nz\/blog\/wp-json\/wp\/v2\/posts\/1286","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.funk.co.nz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.funk.co.nz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.funk.co.nz\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.funk.co.nz\/blog\/wp-json\/wp\/v2\/comments?post=1286"}],"version-history":[{"count":0,"href":"https:\/\/www.funk.co.nz\/blog\/wp-json\/wp\/v2\/posts\/1286\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.funk.co.nz\/blog\/wp-json\/wp\/v2\/media?parent=1286"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.funk.co.nz\/blog\/wp-json\/wp\/v2\/categories?post=1286"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.funk.co.nz\/blog\/wp-json\/wp\/v2\/tags?post=1286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}