{"id":9455,"date":"2021-02-01T16:42:44","date_gmt":"2021-02-01T21:42:44","guid":{"rendered":"https:\/\/irreal.org\/blog\/?p=9455"},"modified":"2021-02-01T16:42:44","modified_gmt":"2021-02-01T21:42:44","slug":"symlink-copying-with-dired","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=9455","title":{"rendered":"Symlink Copying with Dired"},"content":{"rendered":"<p>Marcin Borkowski (mbork) has a <a href=\"http:\/\/mbork.pl\/2021-02-01_Copying_symlink_targets_in_Dired\">handy tip<\/a> concerning something I didn\u2019t know about. If you use dired\u2014as you should\u2014for your file operations and you know that you can use <kbd>C<\/kbd> to copy one or more files. By default, the command, <code>dired-do-copy<\/code>, copies symlinks by creating another symlink as the target.<\/p>\n<p>Most of the time, that\u2019s probably what you want but not always. It turns out you can make an actual copy of the file by specifying the universal argument. See mbork\u2019s post for post for the details.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Marcin Borkowski (mbork) has a handy tip concerning something I didn\u2019t know about. If you use dired\u2014as you should\u2014for your file operations and you know that you can use C to copy one or more files. By default, the command, &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=9455\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[18],"class_list":["post-9455","post","type-post","status-publish","format-standard","hentry","category-general","tag-emacs"],"_links":{"self":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9455","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9455"}],"version-history":[{"count":1,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9455\/revisions"}],"predecessor-version":[{"id":9456,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/9455\/revisions\/9456"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9455"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9455"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}