{"id":103,"date":"2004-02-04T08:29:04","date_gmt":"2004-02-04T13:29:04","guid":{"rendered":"http:\/\/jthurber.com\/blog\/?p=103"},"modified":"2004-02-04T08:29:04","modified_gmt":"2004-02-04T13:29:04","slug":"unlocking-the-contents-of-your-trashcan-osx","status":"publish","type":"post","link":"https:\/\/jthurber.com\/blog\/?p=103","title":{"rendered":"Unlocking the contents of your Trashcan &#8211; OSX"},"content":{"rendered":"<p>If you go to empty the trash in OSX and get a message like: <\/p>\n<blockquote><p>The operation cannot be completed because the item<br \/>\n<i>filename<\/i> is locked.<\/p><\/blockquote>\n<p>Just open the terminal, cd to ~\/.Trash and run the following command:<br \/>\n<b>find . -exec \/Developer\/Tools\/SetFile -a l {} \\;<\/b><\/p>\n<p>This will (should) recursively unlock all the files in your Trash directory.  It&#8217;s pretty safe because, well, you&#8217;ve already put these files in the trash&#8230; what&#8217;s the worst that could happen.  Depending on your privileges you may need to sudo this.<\/p>\n<p><i>Found this on the <a href=\"http:\/\/www.macfixitforums.com\/php\/showflat.php?Cat=&#038;Board=Forum35&#038;Number=171470&#038;page=5&#038;view=collapsed&#038;sb=9&#038;o=&#038;fpart=1\">MacFixit Forums<\/a>.<\/i><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you go to empty the trash in OSX and get a message like: The operation cannot be completed because the item filename is locked. Just open the terminal, cd to ~\/.Trash and run the following command: find . -exec \/Developer\/Tools\/SetFile -a l {} \\; This will (should) recursively unlock all the files in your [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-103","post","type-post","status-publish","format-standard","hentry","category-found-on-web"],"_links":{"self":[{"href":"https:\/\/jthurber.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jthurber.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jthurber.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jthurber.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jthurber.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=103"}],"version-history":[{"count":0,"href":"https:\/\/jthurber.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/103\/revisions"}],"wp:attachment":[{"href":"https:\/\/jthurber.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jthurber.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jthurber.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}