{"id":1285,"date":"2010-03-15T00:01:34","date_gmt":"2010-03-15T08:01:34","guid":{"rendered":"http:\/\/www.wambooli.com\/blog\/?p=1285"},"modified":"2010-03-14T13:52:04","modified_gmt":"2010-03-14T21:52:04","slug":"send-that-file-to-hell-part-i","status":"publish","type":"post","link":"https:\/\/www.wambooli.com\/blog\/?p=1285","title":{"rendered":"Send That File To Hell, Part I"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.wambooli.com\/blog\/wp-content\/uploads\/2010\/03\/mac-trash.png\" alt=\"\" title=\"mac-trash\" width=\"79\" height=\"85\" class=\"alignleft size-full wp-image-1296\" \/><br \/>\nDeleting a file isn&#8217;t what you think it is.<br \/>\n<!--more--><br \/>\nI suppose it&#8217;s pretty common knowledge how to zap a file out of existence: You click to select the file&#8217;s icon, then press the Delete key in Windows or Command+Delete on a Mac. Or you can be all graphical and drag the icon to the Recycle Bin or Trash. Simple.<\/p>\n<p>What happens next depends on the operating system.<\/p>\n<p>In Windows, the file is compressed and stored in a Recycle Bin archive. Information about the file&#8217;s folder location is also kept, so that it can be restored to its original spot later.<\/p>\n<p>On the Mac, the file is merely moved to the Trash folder.<\/p>\n<p>So a deleted file isn&#8217;t really deleted; it&#8217;s moved to another location, out of sight. This operation came about because early operating systems really did take efforts at removing the file; the end result of a file delete operation was that you couldn&#8217;t get the file back, no matter how hard you hit the computer&#8217;s monitor.<\/p>\n<p>Peter Norton made a fortune by crafting the first popular un-erase utility back in the early 1980s. Obviously people were hasty with deleting files and there was widespread need to get them back.<\/p>\n<p>Eventually the operating system developers caught on, and today you have things like the Recycle Bin or Trash.<\/p>\n<p>(Poor Peter lost his monopoly when DOS gained an <code>UNDELETE<\/code> command.)<\/p>\n<p>For those time when you want to <em>really<\/em> delete a file, you can use special file-deleting commands. In Windows, it&#8217;s Shift-Delete, which zaps a file and doesn&#8217;t put it into the Recycle Bin for recovery.<\/p>\n<p>The Mac doesn&#8217;t seem to have a permanent delete command specifically. You can, however, choose the option Secure Empty Trash from the Finder menu, which utterly zaps deleted files.<\/p>\n<p>Now you can understand how deleting a file doesn&#8217;t really delete it. In fact, deleting a file in the old days didn&#8217;t really delete it, either. That secret was how Norton was able to work his magic in the un-erase program. I&#8217;ll describe more of the behind-the-scenes part of deleting a file in Wednesday&#8217;s blog post.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Deleting a file isn&#8217;t what you think it is.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1285","post","type-post","status-publish","format-standard","hentry","category-main"],"_links":{"self":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1285"}],"version-history":[{"count":5,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1285\/revisions"}],"predecessor-version":[{"id":1297,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1285\/revisions\/1297"}],"wp:attachment":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}