{"id":44540,"date":"2018-05-08T11:11:59","date_gmt":"2018-05-08T16:11:59","guid":{"rendered":"https:\/\/eshop.macsales.com\/blog\/?p=44540"},"modified":"2018-05-10T11:36:03","modified_gmt":"2018-05-10T16:36:03","slug":"want-simple-security-hide-secret-files-with-terminal","status":"publish","type":"post","link":"https:\/\/eshop.macsales.com\/blog\/44540-want-simple-security-hide-secret-files-with-terminal\/","title":{"rendered":"Want Simple Security? Hide &#8216;Secret&#8217; Files with Terminal"},"content":{"rendered":"<p>Your Mac is full of secrets; special files and folders hidden away so you don&#8217;t accidentally make changes to critical system components. But Apple isn\u2019t the only one that hides items on your Mac; some developers use similar tricks to keep important secret app files, such as licensing credentials, from being used willy-nilly.<\/p>\n<p>You can get in on the secrets of hiding files and folders so that others can\u2019t easily find them, or make use of their content, with just a few simple Terminal tricks.<\/p>\n<p><strong>Using Terminal to Hide a File or Folder<\/strong><br \/>\nTerminal has always been a favorite app of mine, so much so that I <a href=\"https:\/\/eshop.macsales.com\/blog\/39496-spacers-stacks-swapping-mastering-the-iconic-macos-dock-part-2\">keep it in the Dock for easy access<\/a>. Terminal can be used to invoke a couple of commands that can be used to hide or unhide a file or folder.<\/p>\n<p>You may have already made use of the Terminal chflags command to unhide the user&#8217;s library folder, which Apple hides by default. If you&#8217;re wondering about the user&#8217;s library, often written out as ~\/Library, you can learn a bit more about it in the article: <a href=\"https:\/\/eshop.macsales.com\/blog\/40320-access-your-hidden-library-folder-with-these-five-easy-tricks-2\">Access Your Hidden Library Folder With These Five Easy Tricks<\/a>.<\/p>\n<figure id=\"attachment_44545\" aria-describedby=\"caption-attachment-44545\" style=\"width: 640px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-44545 size-full\" src=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/SecretsFolder640.jpg\" alt=\"\" width=\"640\" height=\"474\" srcset=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/SecretsFolder640.jpg 640w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/SecretsFolder640-162x120.jpg 162w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/SecretsFolder640-284x210.jpg 284w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/SecretsFolder640-190x141.jpg 190w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/SecretsFolder640-162x120@2x.jpg 324w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/SecretsFolder640-284x210@2x.jpg 568w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/SecretsFolder640-190x141@2x.jpg 380w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><figcaption id=\"caption-attachment-44545\" class=\"wp-caption-text\"><strong>(Use the Secrets folder to hide any files or folders you wish.)<\/strong><\/figcaption><\/figure>\n<p>Let\u2019s take a look at hiding a folder using Terminal by first creating a folder that we can hide.<\/p>\n<p>Open a Finder window, and navigate to your home folder. You can do this by selecting your home folder from the Finder sidebar.<\/p>\n<p>Within the home folder window, either right-click in an empty area and select New Folder from the popup menu, or select New Folder from the Finder\u2019s File menu.<\/p>\n<p>A new folder will be created, and the name (untitled folder) highlighted. Enter a new name for the folder, such as Secrets.<\/p>\n<p>With the Secrets folder created, it\u2019s time to make it disappear.<\/p>\n<p>Launch Terminal, located in \/Applications\/Utilities, and arrange the Finder and Terminal windows so that you can see both of them.<\/p>\n<p>In the Terminal window, enter the following at the prompt:<\/p>\n<p>chflags hidden ~\/Secrets<\/p>\n<p>Hit the Enter or Return key.<\/p>\n<p>The Secrets folder should disappear from the Finder window.<\/p>\n<p>The Secrets folder wasn&#8217;t deleted; it simply had a flag changed that told the Finder not to display it in a Finder window. The folder is still right where you created it.<\/p>\n<p>We can bring it back by typing a magic word or two in Terminal:<\/p>\n<p>chflags nohidden ~\/Secrets<\/p>\n<p>Press Enter or Return.<\/p>\n<p>The Secrets folder is back.<\/p>\n<figure id=\"attachment_44541\" aria-describedby=\"caption-attachment-44541\" style=\"width: 640px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-44541\" src=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/ChflagsNoHidden640.jpg\" alt=\"\" width=\"640\" height=\"203\" srcset=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/ChflagsNoHidden640.jpg 640w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/ChflagsNoHidden640-284x90.jpg 284w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/ChflagsNoHidden640-190x60.jpg 190w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/ChflagsNoHidden640-284x90@2x.jpg 568w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/ChflagsNoHidden640-190x60@2x.jpg 380w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><figcaption id=\"caption-attachment-44541\" class=\"wp-caption-text\"><strong>(The first chflags command hides the folder named Secrets, while the second chflags command reveals the hidden Secrets folder.)<\/strong><\/figcaption><\/figure>\n<p>That\u2019s not the only Terminal method for making a file or folder disappear. You can also make a file or folder disappear by prepending a period to its name. If we change the Secrets folder name to .Secrets the folder will become invisible to the Finder.<\/p>\n<p>Alternatively, you can use the Terminal mv command, which is designed to move a file or folder to a new location, but can also be used to change a file or folder name.<\/p>\n<p>In the Terminal window, enter the following:<\/p>\n<p>mv ~\/Secrets ~\/.Secrets<\/p>\n<p>Press Enter or Return.<\/p>\n<p>Just as before, the Secrets folder becomes invisible in the Finder.<\/p>\n<p>You can make it visible again by using the mv command to remove the period from its name.<\/p>\n<p>In the Terminal window, enter:<\/p>\n<p>mv ~\/.Secrets ~\/Secrets<\/p>\n<p>Hit Enter or Return.<\/p>\n<p>The Secrets folder is now visible within the Finder.<\/p>\n<figure id=\"attachment_44544\" aria-describedby=\"caption-attachment-44544\" style=\"width: 640px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-44544\" src=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/mvSecretsReveal640.jpg\" alt=\"\" width=\"640\" height=\"176\" srcset=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/mvSecretsReveal640.jpg 640w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/mvSecretsReveal640-284x78.jpg 284w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/mvSecretsReveal640-190x52.jpg 190w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/mvSecretsReveal640-284x78@2x.jpg 568w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/mvSecretsReveal640-190x52@2x.jpg 380w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><figcaption id=\"caption-attachment-44544\" class=\"wp-caption-text\"><strong>(The first mv command is used to hide the Secrets folder by adding a period at the front of its name. The second mv command removes the period and makes the Secret folder visible.)<\/strong><\/figcaption><\/figure>\n<p>With both the chflags and the mv Terminal commands, you\u2019re able to make a folder and all of its contents become invisible in the Finder. You can also use the same commands on a single file, if you wish. But since the Terminal commands we mentioned require knowing the pathname to the item, it\u2019s a good idea to just use a single folder to hide one or more items within. That helps simplify the process of remembering the required pathname when it\u2019s time to make the items visible.<\/p>\n<p><strong>Hiding a File or Folder is Only for Casual Security<\/strong><br \/>\nUsing Terminal, you were able to hide the Secrets folder from prying eyes &#8211; or were you? The answer is, you only hid it from those who were casually using the Mac and not actively examining the system for hidden items. With either of the Terminal methods, it would be easy to uncover the hidden Secrets folder using tools that come with the Mac.<\/p>\n<p>Terminal will happily show hidden files in a directory just by using the list command (ls). Go ahead and give it a try. Hide the Secrets folder using the chflags command. Once hidden, enter the following in Terminal:<\/p>\n<p>ls<\/p>\n<p>Press Enter or Return.<\/p>\n<p>Terminal will list all items in the current directory, including the hidden Secrets folder. This is because Terminal, as well as a few other utilities, will ignore most, if not all, file flags.<\/p>\n<figure id=\"attachment_44543\" aria-describedby=\"caption-attachment-44543\" style=\"width: 640px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-44543\" src=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/lsDirectory640.jpg\" alt=\"\" width=\"640\" height=\"289\" srcset=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/lsDirectory640.jpg 640w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/lsDirectory640-266x120.jpg 266w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/lsDirectory640-284x128.jpg 284w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/lsDirectory640-190x86.jpg 190w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/lsDirectory640-266x120@2x.jpg 532w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/lsDirectory640-284x128@2x.jpg 568w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/lsDirectory640-190x86@2x.jpg 380w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><figcaption id=\"caption-attachment-44543\" class=\"wp-caption-text\"><strong>(Using the command ls will list the items in the current directory, including the Secrets folder you just hid using the <\/strong>chflags<strong> command.)<\/strong><\/figcaption><\/figure>\n<p>On the other hand, if you use the mv command to change the Secrets folder name to .Secrets, the Terminal ls command won\u2019t show the Secrets folder. Success! The Secrets folder has been hidden. Well, not quite. Try the ls command again, this time with -a appended to it:<\/p>\n<p>ls -a<\/p>\n<p>-a instructs the ls command to list all items within the directory, so once again, the .Secrets folder shows up.<\/p>\n<figure id=\"attachment_44542\" aria-describedby=\"caption-attachment-44542\" style=\"width: 640px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-44542\" src=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/lsaDirectory640.jpg\" alt=\"\" width=\"640\" height=\"326\" srcset=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/lsaDirectory640.jpg 640w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/lsaDirectory640-236x120.jpg 236w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/lsaDirectory640-284x145.jpg 284w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/lsaDirectory640-190x97.jpg 190w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/lsaDirectory640-236x120@2x.jpg 472w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/lsaDirectory640-284x145@2x.jpg 568w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/lsaDirectory640-190x97@2x.jpg 380w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><figcaption id=\"caption-attachment-44542\" class=\"wp-caption-text\"><strong>(Even when hiding a folder by prepending a period to its name, the hidden folder can still be seen using the list command (ls) with the &#8211;<\/strong>a option<strong>.)<\/strong><\/figcaption><\/figure>\n<p>There are other ways to list the Secrets folder when it\u2019s hidden. Many apps can reveal the Secrets folder in an Open dialog box. To see how this works, launch TextEdit, located in the \/Applications folder.<\/p>\n<p>The Open dialog box should appear when you launch the app; if not, select Open from the File menu.<\/p>\n<p>In the Open dialog box, press and hold Command, Shift, and Period. The dialog box will now display any hidden items.<\/p>\n<p>If you already know the pathname to the Secrets folder, you can force it to be displayed in a Finder window by using the Finder\u2019s Go menu and selecting the Go to Folder menu item. In the dialog box that opens, enter the pathname to the Secrets folder, and then click the Go button.<\/p>\n<p>The Secrets folder will open, displaying its contents in a Finder window.<\/p>\n<p><strong>Why Use Terminal to Hide a File or Folder<\/strong><br \/>\nWe\u2019ve seen that while using Terminal to hide a file or folder isn\u2019t the most secure method, it\u2019s easy to do, and can provide adequate protection for casual use. It may be just the thing for preventing accidental access to sensitive documents by other family members. It&#8217;s also an easy way to keep files from accidentally being deleted or moved about by other users of your Mac.<\/p>\n<p>If you do decide to use Terminal to hide a few files or folders, I recommend using a single folder located in your home directory to keep all hidden items in. That may seem like an easy way for someone else to find a hidden item, but it also ensures that you can find it. It&#8217;s easy to remember where you hid something this week, but what about next year? I also recommend not naming it Secrets.<\/p>\n<p>If you need a bit more security, you can create an encrypted disk image to contain important items, and then hide the disk image using Terminal. You can use the methods outlined in the article: <a href=\"https:\/\/eshop.macsales.com\/blog\/44393-how-to-create-encrypted-disk-images-with-disk-utility-to-protect-private-data\">How to Create Encrypted Disk Images with Disk Utility to Protect Private Data<\/a>.<\/p>\n<p>Using an encrypted image file, along with using Terminal to hide the encrypted file, can be a pretty good way to ensure files you don\u2019t want others to know about are safely hidden, and should they be discovered, their content can&#8217;t be seen. Just make sure you remember where you hid the files.<\/p>\n<p><strong>Spotlight Can Reveal Some of Your Secrets<\/strong><br \/>\nSpotlight will normally index the items you add to your Secrets folder, which could lead to them being discovered accidentally in a Spotlight search. You can either add the Secrets folder to Spotlight\u2019s Privacy list using the instructions found in the <a href=\"https:\/\/eshop.macsales.com\/blog\/39844-how-to-exercise-control-over-spotlight-indexing\">How to Exercise Control Over Spotlight Indexing<\/a> article, or you can hide an encrypted disk image, whose content can\u2019t be indexed by Spotlight.<\/p>\n<figure id=\"attachment_44546\" aria-describedby=\"caption-attachment-44546\" style=\"width: 640px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-44546\" src=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/Spotlight640.jpg\" alt=\"\" width=\"640\" height=\"488\" srcset=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/Spotlight640.jpg 640w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/Spotlight640-157x120.jpg 157w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/Spotlight640-284x217.jpg 284w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/Spotlight640-190x145.jpg 190w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/Spotlight640-157x120@2x.jpg 314w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/Spotlight640-284x217@2x.jpg 568w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/Spotlight640-190x145@2x.jpg 380w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><figcaption id=\"caption-attachment-44546\" class=\"wp-caption-text\"><strong>(You can use Spotlight&#8217;s Privacy list to prevent items in your Secrets folder from being revealed in a search. Of course, having the item in the Privacy list kind of gives its existence away.)<\/strong><\/figcaption><\/figure>\n<p>It&#8217;s a bit of a catch-22 as to which is the better method. Adding the hidden folder to the Spotlight Privacy list ensures its content won&#8217;t be indexed, but the hidden folder is now listed in Spotlight&#8217;s Privacy list.<\/p>\n<p>If you hide an encrypted disk image, its content won\u2019t be indexed by Spotlight, but the encrypted disk image name will be available in a Spotlight search results.<\/p>\n<p><strong>Final Thoughts<\/strong><br \/>\nThe methods we outlined here for hiding files and folders makes use of standard Mac file system services. As a result, experienced users who are well versed in using a Mac could gain access to your hidden data.<\/p>\n<p>If you need to securely protect files, the use of an encrypted disk image to protect a number of files may be a better alternative. You can also <a href=\"https:\/\/eshop.macsales.com\/blog\/43237-keeping-your-mac-secure-part-2-filevault\">use FileVault to encrypt all of the data on a startup drive<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Your Mac is full of secrets; special files and folders hidden away so you don&#8217;t accidentally make changes to critical system components. But Apple isn\u2019t the only one that hides items on your Mac; some developers use similar tricks to keep important secret app files, such as licensing credentials, from being used willy-nilly. You can [&hellip;]<\/p>\n","protected":false},"author":97,"featured_media":44545,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"spay_email":"","footnotes":""},"categories":[4],"class_list":["post-44540","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech-tips"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.2 (Yoast SEO v20.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Want Simple Security? Hide Your Files with Terminal<\/title>\n<meta name=\"description\" content=\"You can get in on the secrets of hiding files and folders so that others can\u2019t easily find them, or make use of their content, with just a few Terminal tricks.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/eshop.macsales.com\/blog\/44540-want-simple-security-hide-secret-files-with-terminal\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Want Simple Security? Hide &#039;Secret&#039; Files with Terminal\" \/>\n<meta property=\"og:description\" content=\"You can get in on the secrets of hiding files and folders so that others can\u2019t easily find them, or make use of their content, with just a few Terminal tricks.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/eshop.macsales.com\/blog\/44540-want-simple-security-hide-secret-files-with-terminal\/\" \/>\n<meta property=\"og:site_name\" content=\"Rocket Yard\" \/>\n<meta property=\"article:published_time\" content=\"2018-05-08T16:11:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-05-10T16:36:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/SecretsFolder640.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"640\" \/>\n\t<meta property=\"og:image:height\" content=\"474\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Tom Nelson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tom Nelson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/44540-want-simple-security-hide-secret-files-with-terminal\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/eshop.macsales.com\/blog\/44540-want-simple-security-hide-secret-files-with-terminal\/\"},\"author\":{\"name\":\"Tom Nelson\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#\/schema\/person\/647f465acd469444183711d2a22648cb\"},\"headline\":\"Want Simple Security? Hide &#8216;Secret&#8217; Files with Terminal\",\"datePublished\":\"2018-05-08T16:11:59+00:00\",\"dateModified\":\"2018-05-10T16:36:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/eshop.macsales.com\/blog\/44540-want-simple-security-hide-secret-files-with-terminal\/\"},\"wordCount\":1699,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#organization\"},\"keywords\":[\"chflags\",\"Finder\",\"hide\",\"invisible\",\"mv\",\"secrets.\",\"Terminal\"],\"articleSection\":[\"Tech Tips\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/eshop.macsales.com\/blog\/44540-want-simple-security-hide-secret-files-with-terminal\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/44540-want-simple-security-hide-secret-files-with-terminal\/\",\"url\":\"https:\/\/eshop.macsales.com\/blog\/44540-want-simple-security-hide-secret-files-with-terminal\/\",\"name\":\"Want Simple Security? Hide Your Files with Terminal\",\"isPartOf\":{\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#website\"},\"datePublished\":\"2018-05-08T16:11:59+00:00\",\"dateModified\":\"2018-05-10T16:36:03+00:00\",\"description\":\"You can get in on the secrets of hiding files and folders so that others can\u2019t easily find them, or make use of their content, with just a few Terminal tricks.\",\"breadcrumb\":{\"@id\":\"https:\/\/eshop.macsales.com\/blog\/44540-want-simple-security-hide-secret-files-with-terminal\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/eshop.macsales.com\/blog\/44540-want-simple-security-hide-secret-files-with-terminal\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/44540-want-simple-security-hide-secret-files-with-terminal\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/eshop.macsales.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Want Simple Security? Hide &#8216;Secret&#8217; Files with Terminal\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#website\",\"url\":\"https:\/\/eshop.macsales.com\/blog\/\",\"name\":\"Rocket Yard\",\"description\":\"Your source for expert tips, special deals, commentary, reviews, and the latest tech news.\",\"publisher\":{\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/eshop.macsales.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#organization\",\"name\":\"OWC\",\"url\":\"https:\/\/eshop.macsales.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2020\/06\/rocket-yard-logo-round.png\",\"contentUrl\":\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2020\/06\/rocket-yard-logo-round.png\",\"width\":1024,\"height\":1024,\"caption\":\"OWC\"},\"image\":{\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#\/schema\/person\/647f465acd469444183711d2a22648cb\",\"name\":\"Tom Nelson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cb537829ec9582eb81bd2dcf5c7e88d981ed66bd6f65dd36508faf46d38ba5a9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cb537829ec9582eb81bd2dcf5c7e88d981ed66bd6f65dd36508faf46d38ba5a9?s=96&d=mm&r=g\",\"caption\":\"Tom Nelson\"},\"description\":\"Tom has been an enthusiastic Mac user since the Mac Plus. He\u2019s also been known to dabble in the dark side, otherwise known as Windows, and has a well-deserved reputation for being able to explain almost anything to anybody. Tom\u2019s background includes more than 30 years as an engineer, programmer, network manager, software tester, software reviewer, database designer, and computer network and systems designer. His online experience includes working as a sysop, forum leader, writer, and software library manager.\",\"sameAs\":[\"http:\/\/rocketyard.com\"],\"url\":\"https:\/\/eshop.macsales.com\/blog\/author\/tom-n\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Want Simple Security? Hide Your Files with Terminal","description":"You can get in on the secrets of hiding files and folders so that others can\u2019t easily find them, or make use of their content, with just a few Terminal tricks.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/eshop.macsales.com\/blog\/44540-want-simple-security-hide-secret-files-with-terminal\/","og_locale":"en_US","og_type":"article","og_title":"Want Simple Security? Hide 'Secret' Files with Terminal","og_description":"You can get in on the secrets of hiding files and folders so that others can\u2019t easily find them, or make use of their content, with just a few Terminal tricks.","og_url":"https:\/\/eshop.macsales.com\/blog\/44540-want-simple-security-hide-secret-files-with-terminal\/","og_site_name":"Rocket Yard","article_published_time":"2018-05-08T16:11:59+00:00","article_modified_time":"2018-05-10T16:36:03+00:00","og_image":[{"width":640,"height":474,"url":"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/SecretsFolder640.jpg","type":"image\/jpeg"}],"author":"Tom Nelson","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Tom Nelson","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/eshop.macsales.com\/blog\/44540-want-simple-security-hide-secret-files-with-terminal\/#article","isPartOf":{"@id":"https:\/\/eshop.macsales.com\/blog\/44540-want-simple-security-hide-secret-files-with-terminal\/"},"author":{"name":"Tom Nelson","@id":"https:\/\/eshop.macsales.com\/blog\/#\/schema\/person\/647f465acd469444183711d2a22648cb"},"headline":"Want Simple Security? Hide &#8216;Secret&#8217; Files with Terminal","datePublished":"2018-05-08T16:11:59+00:00","dateModified":"2018-05-10T16:36:03+00:00","mainEntityOfPage":{"@id":"https:\/\/eshop.macsales.com\/blog\/44540-want-simple-security-hide-secret-files-with-terminal\/"},"wordCount":1699,"commentCount":0,"publisher":{"@id":"https:\/\/eshop.macsales.com\/blog\/#organization"},"keywords":["chflags","Finder","hide","invisible","mv","secrets.","Terminal"],"articleSection":["Tech Tips"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/eshop.macsales.com\/blog\/44540-want-simple-security-hide-secret-files-with-terminal\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/eshop.macsales.com\/blog\/44540-want-simple-security-hide-secret-files-with-terminal\/","url":"https:\/\/eshop.macsales.com\/blog\/44540-want-simple-security-hide-secret-files-with-terminal\/","name":"Want Simple Security? Hide Your Files with Terminal","isPartOf":{"@id":"https:\/\/eshop.macsales.com\/blog\/#website"},"datePublished":"2018-05-08T16:11:59+00:00","dateModified":"2018-05-10T16:36:03+00:00","description":"You can get in on the secrets of hiding files and folders so that others can\u2019t easily find them, or make use of their content, with just a few Terminal tricks.","breadcrumb":{"@id":"https:\/\/eshop.macsales.com\/blog\/44540-want-simple-security-hide-secret-files-with-terminal\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/eshop.macsales.com\/blog\/44540-want-simple-security-hide-secret-files-with-terminal\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/eshop.macsales.com\/blog\/44540-want-simple-security-hide-secret-files-with-terminal\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/eshop.macsales.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Want Simple Security? Hide &#8216;Secret&#8217; Files with Terminal"}]},{"@type":"WebSite","@id":"https:\/\/eshop.macsales.com\/blog\/#website","url":"https:\/\/eshop.macsales.com\/blog\/","name":"Rocket Yard","description":"Your source for expert tips, special deals, commentary, reviews, and the latest tech news.","publisher":{"@id":"https:\/\/eshop.macsales.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/eshop.macsales.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/eshop.macsales.com\/blog\/#organization","name":"OWC","url":"https:\/\/eshop.macsales.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eshop.macsales.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2020\/06\/rocket-yard-logo-round.png","contentUrl":"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2020\/06\/rocket-yard-logo-round.png","width":1024,"height":1024,"caption":"OWC"},"image":{"@id":"https:\/\/eshop.macsales.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/eshop.macsales.com\/blog\/#\/schema\/person\/647f465acd469444183711d2a22648cb","name":"Tom Nelson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eshop.macsales.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cb537829ec9582eb81bd2dcf5c7e88d981ed66bd6f65dd36508faf46d38ba5a9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cb537829ec9582eb81bd2dcf5c7e88d981ed66bd6f65dd36508faf46d38ba5a9?s=96&d=mm&r=g","caption":"Tom Nelson"},"description":"Tom has been an enthusiastic Mac user since the Mac Plus. He\u2019s also been known to dabble in the dark side, otherwise known as Windows, and has a well-deserved reputation for being able to explain almost anything to anybody. Tom\u2019s background includes more than 30 years as an engineer, programmer, network manager, software tester, software reviewer, database designer, and computer network and systems designer. His online experience includes working as a sysop, forum leader, writer, and software library manager.","sameAs":["http:\/\/rocketyard.com"],"url":"https:\/\/eshop.macsales.com\/blog\/author\/tom-n\/"}]}},"jetpack_featured_media_url":"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2018\/05\/SecretsFolder640.jpg","jetpack_shortlink":"https:\/\/wp.me\/pmPaT-bAo","_links":{"self":[{"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/posts\/44540","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/users\/97"}],"replies":[{"embeddable":true,"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/comments?post=44540"}],"version-history":[{"count":3,"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/posts\/44540\/revisions"}],"predecessor-version":[{"id":44550,"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/posts\/44540\/revisions\/44550"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/media\/44545"}],"wp:attachment":[{"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/media?parent=44540"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/categories?post=44540"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}