{"id":63,"date":"2022-07-26T00:27:13","date_gmt":"2022-07-26T04:27:13","guid":{"rendered":"https:\/\/geeklystrips.com\/?p=63"},"modified":"2023-02-05T10:36:00","modified_gmt":"2023-02-05T14:36:00","slug":"macos-easy-copy-path","status":"publish","type":"post","link":"https:\/\/geeklystrips.com\/index.php\/2022\/07\/26\/macos-easy-copy-path\/","title":{"rendered":"macOS Easy Copy Path"},"content":{"rendered":"\n<p>If you&#8217;re used to dragging &amp; dropping files and folders to Terminal in order to copy full system paths, you&#8217;ll be delighted to learn about this macOS Quick Action trick.<\/p>\n\n\n\n<p><strong>Edit<\/strong>: Even easier way <a href=\"https:\/\/geeklystrips.com\/index.php\/2022\/07\/26\/macos-easier-copy-path\/\" title=\"here\">here<\/a>.<\/p>\n\n\n\n<p>Automator is quite useful for scripting repetitive tasks. Once saved, this Quick Action will automatically be loaded by the Finder and its <em>Services<\/em> menu.<\/p>\n\n\n\n<p>1. Launch Automator and choose <em>Quick Action<\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized is-style-default\" id=\"AutomatorQuickAction\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-01-CreateQuickAction-1024x926.png\" alt=\"\" class=\"wp-image-64\" width=\"512\" height=\"463\" title=\"Creating Automator Quick Action\" srcset=\"https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-01-CreateQuickAction-1024x926.png 1024w, https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-01-CreateQuickAction-300x271.png 300w, https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-01-CreateQuickAction-768x694.png 768w, https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-01-CreateQuickAction-1536x1389.png 1536w, https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-01-CreateQuickAction.png 1608w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/figure>\n\n\n\n<p>2. From the Library, select <em>Copy to Clipboard<\/em> and drag it to the right pane.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-02-Setup-1024x775.png\" alt=\"\" class=\"wp-image-66\" width=\"512\" height=\"388\" srcset=\"https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-02-Setup-1024x775.png 1024w, https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-02-Setup-300x227.png 300w, https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-02-Setup-768x581.png 768w, https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-02-Setup-1536x1162.png 1536w, https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-02-Setup-2048x1550.png 2048w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/figure>\n\n\n\n<p>3. Configure workflow to receive <em>current files or folders<\/em> in <em>Finder<\/em>. <br>You may choose to add an icon to help find the command at a glance.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-03-Config-1024x775.png\" alt=\"\" class=\"wp-image-67\" width=\"512\" height=\"388\" srcset=\"https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-03-Config-1024x775.png 1024w, https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-03-Config-300x227.png 300w, https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-03-Config-768x581.png 768w, https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-03-Config-1536x1162.png 1536w, https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-03-Config-2048x1550.png 2048w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/figure>\n\n\n\n<p>4. Once the action has been saved [<em>~\/Library\/Services<\/em>] it will become active. If you wish, define a keyboard shortcut for it: <\/p>\n\n\n\n<p><em>System Preferences &gt; Keyboard &gt; Shortcuts &gt; Services &#8230;<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-04-PreferencesKeyboardShortcuts-1024x929.png\" alt=\"\" class=\"wp-image-68\" width=\"512\" height=\"465\" srcset=\"https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-04-PreferencesKeyboardShortcuts-1024x929.png 1024w, https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-04-PreferencesKeyboardShortcuts-300x272.png 300w, https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-04-PreferencesKeyboardShortcuts-768x697.png 768w, https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-04-PreferencesKeyboardShortcuts-1536x1394.png 1536w, https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-04-PreferencesKeyboardShortcuts.png 1560w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/figure>\n\n\n\n<p>You can now use the Finder&#8217;s contextual menu to copy path(s) to files and folders.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-06-ContextualMenu-840x1024.png\" alt=\"\" class=\"wp-image-71\" width=\"420\" height=\"512\" srcset=\"https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-06-ContextualMenu-840x1024.png 840w, https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-06-ContextualMenu-246x300.png 246w, https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-06-ContextualMenu-768x936.png 768w, https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-06-ContextualMenu.png 994w\" sizes=\"auto, (max-width: 420px) 100vw, 420px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-05-AppServices-1024x579.png\" alt=\"\" class=\"wp-image-69\" width=\"512\" height=\"290\" srcset=\"https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-05-AppServices-1024x579.png 1024w, https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-05-AppServices-300x170.png 300w, https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-05-AppServices-768x434.png 768w, https:\/\/geeklystrips.com\/wp-content\/uploads\/2022\/07\/Automator-05-AppServices.png 1026w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re used to dragging &amp; dropping files and folders to Terminal in order to copy full system paths, you&#8217;ll<\/p>\n<p><a href=\"https:\/\/geeklystrips.com\/index.php\/2022\/07\/26\/macos-easy-copy-path\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\">macOS Easy Copy Path<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[16],"tags":[33],"class_list":["post-63","post","type-post","status-publish","format-standard","hentry","category-macos","tag-productivity"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/geeklystrips.com\/index.php\/wp-json\/wp\/v2\/posts\/63","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geeklystrips.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geeklystrips.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geeklystrips.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/geeklystrips.com\/index.php\/wp-json\/wp\/v2\/comments?post=63"}],"version-history":[{"count":5,"href":"https:\/\/geeklystrips.com\/index.php\/wp-json\/wp\/v2\/posts\/63\/revisions"}],"predecessor-version":[{"id":82,"href":"https:\/\/geeklystrips.com\/index.php\/wp-json\/wp\/v2\/posts\/63\/revisions\/82"}],"wp:attachment":[{"href":"https:\/\/geeklystrips.com\/index.php\/wp-json\/wp\/v2\/media?parent=63"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geeklystrips.com\/index.php\/wp-json\/wp\/v2\/categories?post=63"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geeklystrips.com\/index.php\/wp-json\/wp\/v2\/tags?post=63"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}