{"id":1307,"date":"2018-02-01T09:28:29","date_gmt":"2018-02-01T09:28:29","guid":{"rendered":"https:\/\/www.iseepassword.com\/blog\/?p=1307"},"modified":"2023-10-10T10:50:12","modified_gmt":"2023-10-10T10:50:12","slug":"show-hide-hidden-file-folders-mac","status":"publish","type":"post","link":"https:\/\/www.iseepassword.com\/blog\/show-hide-hidden-file-folders-mac\/","title":{"rendered":"How to Show\/Hide Hidden Files and Folders in Mac OS X?"},"content":{"rendered":"<p><span style=\"font-family: arial, helvetica, sans-serif\">Hello guys, today we would discuss one of the most frequently asked topic for those who are new to the usage of Mac OS that is, <em><i>how to show and hide the hidden files in Mac OS X?<\/i><\/em>\u00a0Before we commence with the stupefying elaboration of WHAT TO DO? Let\u2019s have a brief discussion on the aspect of this hidden folders and files in Mac OS X.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Actually by default, Mac OS prefers to hide confidential files and folders away from users. In case they delete or change any of those essential files mistakenly, then it would bring about serious changes to the system\u2019s operating system which may turn out to be disastrous on many cases.\u00a0\u00a0<\/span><span style=\"font-family: arial, helvetica, sans-serif\">Hence , here in this article we would discuss 2 mighty methods which are basically based on running certain commands, one via long way, and another using short cut aliases which are outlines below.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Don&#8217;t miss:\u00a0<a href=\"https:\/\/www.iseepassword.com\/reset-mac-login-password.html\">3 ways to reset Mac login password without install disk<\/a><\/span><\/p>\n<h3><span style=\"font-family: arial, helvetica, sans-serif\"><strong><b>Part #1: To Show Hidden Files on Mac using Terminal Command <\/b><\/strong><\/span><\/h3>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Similar to the command prompt, Terminal is also a command line interpreter, which provides an interface to control the UNIX-based operating system which is in this case, is Mac OS X. Usually we deploy a bit lengthy commands in this interface to carry out the necessary modifications to show\/ hide files. Go through the steps outlined below for the following method:<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Step 1. Click on \u201cFinder\u201d from the upper left corner of the home screen, and select \u201cApplications\u201d folder.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Step 2. Click on \u201cUtilities\u201d folder and open \u201cTerminal\u201d.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1309 size-full\" src=\"https:\/\/www.iseepassword.com\/blog\/wp-content\/uploads\/2018\/02\/run-terminal-from-finder-on-mac.png\" alt=\"Terminal\" width=\"595\" height=\"250\" \/><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Step 3. Once the Terminal dialog box turns up, input the following command and then press \u201cReturn\u201d key:<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif;color: #99cc00\"><em><i>defaults write com.apple.finder AppleShowAllFiles YES<\/i><\/em><\/span><\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1311 size-full\" src=\"https:\/\/www.iseepassword.com\/blog\/wp-content\/uploads\/2018\/02\/enter-command-to-show-hidden-files-on-mac-1.png\" alt=\"Terminal dialog\" width=\"556\" height=\"164\" \/><\/strong><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Step 4. Now; hold the \u201cOption or Alt\u201d key, and simultaneously right-click on the \u201cFinder\u201d icon in the upper left corner of the screen. Click on \u201cRelaunch\u201d from the drop down menu.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1312 size-full\" src=\"https:\/\/www.iseepassword.com\/blog\/wp-content\/uploads\/2018\/02\/relaunch-finder.png\" alt=\"hide file\/folder on Mac\" width=\"236\" height=\"324\" \/><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Step 5. Once you are done with this much, you can go to user deger and\u00a0 you will be shown all the hidden folders of the Mac OS X. <\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1313 size-full\" src=\"https:\/\/www.iseepassword.com\/blog\/wp-content\/uploads\/2018\/02\/show-hidden-files-in-finder.jpg\" alt=\"show file\/folder on Mac OS X\" width=\"592\" height=\"347\" \/><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Also read:\u00a0<a href=\"https:\/\/www.iseepassword.com\/blog\/2-ways-to-boot-your-mac-in-safe-mode\/\">2 Ways to Boot Your Mac in Safe Mode<\/a><\/span><\/p>\n<h3><\/h3>\n<h3><strong><b>Part #2:\u00a0 Hide Hidden Files on Mac using Terminal Command <\/b><\/strong><\/h3>\n<p><span style=\"font-family: arial, helvetica, sans-serif\"> If you wish to hide the files once again to their restricted locations, simply follow the steps from 1-5 and replace the previously entered command with the following new command in the Terminal dialog box:<\/span><\/p>\n<p><span style=\"color: #99cc00;font-family: arial, helvetica, sans-serif\"><em><i>defaults write com.apple.finder AppleShowAllFiles NO<\/i><\/em><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1314\" src=\"https:\/\/www.iseepassword.com\/blog\/wp-content\/uploads\/2018\/02\/hide-hidden-files-via-terminal.png\" alt=\"\" width=\"557\" height=\"165\" \/><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">You should see the hidden files\/folders are not shown.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1315 size-full\" src=\"https:\/\/www.iseepassword.com\/blog\/wp-content\/uploads\/2018\/02\/how-to-hide-hidden-files-in-finder.jpg\" alt=\"show and hide file\/folders on Mac\" width=\"593\" height=\"269\" \/><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">If you&#8217;re using Windows 10, it also easy to <a href=\"https:\/\/www.iseepassword.com\/how-to-hide-file-folders-in-windows.html\">show and hide file\/folders on Windows 10<\/a><\/span><\/p>\n<p>&nbsp;<\/p>\n<h3><span style=\"font-family: arial, helvetica, sans-serif\"><strong><b>Part #3: Show\/ Hide Hidden Files on Mac\/ Using Terminal Aliases<\/b><\/strong><\/span><\/h3>\n<p><span style=\"font-family: arial, helvetica, sans-serif\"><strong><b>\u00a0<\/b><\/strong><\/span><span style=\"font-family: arial, helvetica, sans-serif\">As per the instructions of the aforementioned method, you need to enter the commands every time you wish to show or hide the hidden security files which at times prove to be a bit hectic. Since you cannot memorize the entire code, you have to retrieve it every now and then to do your job.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Now Alias is a shortcut command for a single or multiple commands designed to render the same changes as the long commands, with an exception of cutting short your valuable time.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Step 1. From the \u201cFinder\u201d context menu, select &#8220;Applications&#8221; folder, and then \u201cUtilities\u201d folder.\u00a0<\/span><span style=\"font-family: arial, helvetica, sans-serif\">\u00a0Inside the \u201cUtilities\u201d folder, you get to see \u201cTerminal\u201d option.\u00a0\u00a0<\/span><span style=\"font-family: arial, helvetica, sans-serif\">Click on it to launch the \u201cTerminal\u201d feature.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Step 2. From the Terminal interface, type in the following command:<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif;color: #99cc00\"><em><i>sudo nano ~\/.bash_profile<\/i><\/em><\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Step 3. Enter you Mac\u2019s admin password if required and press \u201cEnter\u201d.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Step 4. Now; at the bottom of the opened <strong><em><b><i>.bash_profile<\/i><\/b><\/em><\/strong>\u00a0file, paste the following command:<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif;color: #99cc00\"><em><i>alias showFiles=&#8217;defaults write com.apple.finder AppleShowAllFiles YES; killall Finder \/System\/Library\/CoreServices\/Finder.app&#8217;<\/i><\/em><\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\"><strong><em><b><i>\u00a0<\/i><\/b><\/em><\/strong><\/span><span style=\"font-family: arial, helvetica, sans-serif\">Step 7. Just below the recent command, enter this additional command also:<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif;color: #99cc00\"><em><i>alias hideFiles=&#8217;defaults write com.apple.finder AppleShowAllFiles NO; killall Finder \/System\/Library\/CoreServices\/Finder.app&#8217;<\/i><\/em><\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Step 8. Press \u201cCtrl+O\u201d key combination and hit \u201cEnter\u201d to save the file which is currently modified.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Step 9. Now; press \u201cCtrl+X\u201d key combination to close the particular file and return to the Terminal command line dialog box again.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Step 10. In Terminal dialog box, type in the following command for it would make your alias available by refreshing your profile:<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif;color: #99cc00\"><em><i>source ~\/.bash_profile<\/i><\/em><\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Step 11. Now; if you want to make the hidden files available enter in Terminal <strong><em><b><i>showFiles<\/i><\/b><\/em><\/strong>\u00a0and then <strong><em><b><i>hideFiles<\/i><\/b><\/em><\/strong>\u00a0when you want to make them unavailable again.<\/span><\/p>\n<h3><span style=\"font-family: arial, helvetica, sans-serif\"><strong><b>Conclusion:<\/b><\/strong><\/span><\/h3>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">As you can see, the methods mentioned above mainly involve running commands, and thus following the 1<sup>st<\/sup>\u00a0method often proves to be a bit time consuming, but creating the Terminal Alias would save you the trouble of cramming all the lengthy commands.\u00a0<\/span><span style=\"font-family: arial, helvetica, sans-serif\">To be enable to hide\/ show hidden files\/folder on Mac is of utmost importance if you are going to use your Mac OS X on a daily basis.<\/span><\/p>\n<p>Related Articles:<\/p>\n<ul>\n<li><span style=\"font-family: arial, helvetica, sans-serif\"><a href=\"https:\/\/www.iseepassword.com\/create-bootable-usb-dvd-on-mac.html\">How to create a bootable USB\/DVD on Mac\u00a0 OS X<\/a><\/span><\/li>\n<li><span style=\"font-family: arial, helvetica, sans-serif\"><a href=\"https:\/\/www.iseepassword.com\/reset-windows-10-password.html\">2 ways to reset forgotten logoin password on Windows 10<\/a><\/span><\/li>\n<li><span style=\"font-family: arial, helvetica, sans-serif\"><a href=\"https:\/\/www.iseepassword.com\/how-to-view-heic-files.html\">How to Open and View HEIC Files on Windows\/Mac\/Android<\/a><\/span><\/li>\n<li><span style=\"font-family: arial, helvetica, sans-serif\"><a href=\"https:\/\/www.iseepassword.com\/where-is-iphone-backup-stored.html\">Where Is My iPhone Backup Stored on Windows and Mac?<\/a><\/span><\/li>\n<li><a href=\"https:\/\/www.iseepassword.com\/forgot-itunes-backup-password.html\"><span style=\"font-family: arial, helvetica, sans-serif\">How to recover forgotten iTunes backup password<\/span><\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Hello guys, today we would discuss one of the most frequently asked topic for those who are new to the usage of Mac OS that is, how to show and hide the hidden files in Mac OS X?\u00a0Before we commence with the stupefying elaboration of WHAT TO DO? Let\u2019s have a brief discussion on the [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":1319,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[37],"tags":[],"class_list":["post-1307","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mac-tips"],"_links":{"self":[{"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/posts\/1307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/comments?post=1307"}],"version-history":[{"count":6,"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/posts\/1307\/revisions"}],"predecessor-version":[{"id":11848,"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/posts\/1307\/revisions\/11848"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/media\/1319"}],"wp:attachment":[{"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/media?parent=1307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/categories?post=1307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.iseepassword.com\/blog\/wp-json\/wp\/v2\/tags?post=1307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}