{"id":1358,"date":"2009-02-20T11:28:26","date_gmt":"2009-02-20T19:28:26","guid":{"rendered":"http:\/\/www.oeconomist.com\/blogs\/daniel\/?p=1358"},"modified":"2009-09-27T22:09:37","modified_gmt":"2009-09-28T06:09:37","slug":"shambolic-links","status":"publish","type":"post","link":"https:\/\/www.oeconomist.com\/blogs\/daniel\/?p=1358","title":{"rendered":"Shambolic Links"},"content":{"rendered":"<p>The Windows partition on my computer has its own Linux <code>.Trash<\/code> folder for each account, which folder is not cleared when I select the <q><code>E<u>m<\/u>pty Trash<\/code><\/q> option of the <code>Trash<\/code> icon of my Linux desktop.  So I thought, <span style=\"font-style: italic ;\">Eh, I'll created some symbolic links in my home-folder, so that I can quickly access the <code>\/mnt\/WindowsXP\/.Trash-root<\/code> and <code>\/mnt\/WindowsXP\/.Trash-daniel<\/code>.<\/span><\/p> <p>An amusing thing occurred when I tried to delete files from one of the <code>.Trash<\/code> folders with the <abbr title=\"graphic user interface\">GUI<\/abbr> by opening the folder by way of the symbolic link, selecting the files to be deleted, and then using the <code>Delete<\/code> key.<\/p> <p>The file is deleted, but it's replaced with a copy.  Delete <code style=\"white-space: nowrap ;\">x.y<\/code>, and it is replaced by <code style=\"white-space: nowrap ;\">x (copy).y<\/code>; delete that and it's replaced by <code style=\"white-space: nowrap ;\">x (another copy).jpg<\/code>, which would be replaced by <code style=\"white-space: nowrap ;\">x (3rd copy).y<\/code>, and so forth.<\/p> <p>(The same results obtain if one selects <q><code>Mo<u>v<\/u>e to Trash<\/code><\/q>, but the result is a little less bizarre since one is then plainly telling the computer to <q>move<\/q> the file to a directory in which it is <em>already listed<\/em>.)<\/p> <p>Convenient work-arounds are easy enough when I want to empty the whole <code>.Trash<\/code> folder by way of the <abbr title=\"graphic user interface\">GUI<\/abbr>, but <em>these<\/em> symbolic links aren't nearly as useful as I'd hoped.<\/p>","protected":false},"excerpt":{"rendered":"The Windows partition on my computer has its own Linux .Trash folder for each account, which folder is not cleared when I select the Empty Trash option of the Trash icon of my Linux desktop. So I thought, Eh, I'll created some symbolic links in my home-folder, so that I can quickly access the \/mnt\/WindowsXP\/.Trash-root [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[69,4],"tags":[334,72],"class_list":["post-1358","post","type-post","status-publish","format-standard","hentry","category-information-technology","category-public","tag-everyday-absurdity","tag-linux"],"_links":{"self":[{"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=\/wp\/v2\/posts\/1358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1358"}],"version-history":[{"count":0,"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=\/wp\/v2\/posts\/1358\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}