{"id":8307,"date":"2016-05-25T00:01:55","date_gmt":"2016-05-25T07:01:55","guid":{"rendered":"http:\/\/www.wambooli.com\/blog\/?p=8307"},"modified":"2016-05-21T10:54:50","modified_gmt":"2016-05-21T17:54:50","slug":"throwaway-filenames","status":"publish","type":"post","link":"https:\/\/www.wambooli.com\/blog\/?p=8307","title":{"rendered":"Throwaway Filenames"},"content":{"rendered":"<p>The most common filename on my computer&#8217;s mass storage device is . . . <code>killme<\/code>. That&#8217;s not a very inspiring name, but it does showcase a common computer file management phenomena: The names of unwanted or temporary files.<br \/>\n<!--more--><br \/>\nFor temporary files, I use the name <code>killme<\/code>. And despite using such an obvious name, I apparently refuse to remove such files. I should go on a <code>killme<\/code> hunt and eliminate them while avoiding the temptation to peek inside.<\/p>\n<p>Another common throwaway filename name is <code>temp<\/code>. I suppose that&#8217;s short for <em>temporary<\/em> and not <em>temperature<\/em>.<\/p>\n<p>In the Unix realm, the name <code>foo<\/code> has been given to throwaway files since the 1970s. In fact, <code>foo<\/code> and <code>bar<\/code> are the two sample files you&#8217;ll read about in most Unix manuals. It&#8217;s as if creativity has fled the field and these Unix authors can only use (or are required to only use) the names <code>foo<\/code> and <code>bar<\/code>. Either that, or they feel they&#8217;ll be more accepted as &#8220;cool&#8221; by the grizzled Unix community if they succumb to the precedent.<\/p>\n<p>The filenames <code>foo<\/code> and <code>bar<\/code> come from the old military term <em>fubar<\/em>, which was spelled <em>fu<\/em> and not <em>foo<\/em>.<\/p>\n<p>I just did a quick filename search of my Unix system to check for files named <code>foo<\/code>. I have none, but the Android SDK features a few <code>foo<\/code> files. That figures.<\/p>\n<p>In my C folder tree, I have lots of files name <code>test.c<\/code> and a couple <code>kill.c<\/code> files.<\/p>\n<p>Perhaps my adoration for the word <em>kill<\/em> comes from my first exposure to a computer operating system, TRS-DOS on the Radio Shack Model III. The command to remove a file was <code>KILL<\/code>. TRS-DOS was written by Microsoft and I&#8217;ve not seen <code>KILL<\/code> used as any other text-mode command. (<em>kill<\/em> is a command in both Unix and the Windows Powershell to halt a process.)<\/p>\n<p>My interest here is in what other people use for temporary filenames. I assume that <code>asdf<\/code> is a popular name (and a popular, but regrettable password). Maybe <code>1<\/code> is also a common temporary filename. Who knows? I assume somewhere a Federal grant is eagerly awaiting some researcher&#8217;s application to unravel the mystery of which temporary filenames are the most popular.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What&#8217;s your favorite temporary or throwaway filename?<\/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":[15],"class_list":["post-8307","post","type-post","status-publish","format-standard","hentry","category-main","tag-pc"],"_links":{"self":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8307","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=8307"}],"version-history":[{"count":3,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8307\/revisions"}],"predecessor-version":[{"id":8337,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8307\/revisions\/8337"}],"wp:attachment":[{"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wambooli.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}