{"id":45,"date":"2021-06-10T21:53:15","date_gmt":"2021-06-10T21:53:15","guid":{"rendered":"https:\/\/sfcompy.com\/blog\/?p=45"},"modified":"2021-07-09T01:13:59","modified_gmt":"2021-07-09T08:13:59","slug":"hide-or-show-mac-users-folder-macos-cli","status":"publish","type":"post","link":"https:\/\/sfcompy.com\/blog\/hide-or-show-mac-users-folder-macos-cli\/","title":{"rendered":"Hide or Show the mac Users  folder &#8211; MacOS CLI"},"content":{"rendered":"\n<p>To make \\Users folder to be visible or invisible , the command must be run with a sudo privilege and when the system hidden file mode must be set to invisible(<a href=\"https:\/\/sfcompy.com\/blog\/show-hidden-files-macos-cli\" data-type=\"URL\" data-id=\"https:\/\/sfcompy.com\/blog\/show-hidden-files-macos-cli\" target=\"_blank\" rel=\"noreferrer noopener\">system hidden file<\/a>). follow the command we need to restart the Finder (killall Finder) and then to wait few second until the Finder will be restarted automatically<\/p>\n\n\n\n<p><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># To hide the \/Users folder \n\n&gt; sudo chflags hidden \/Users\n\n# Restart the Finder\n \n&gt; killall Finder \n\n\n# To unhide your \/Users folder\n\n&gt; sudo chflags nohidden \/Users&nbsp;\n\n# Restart the Finder\n \n&gt; killall Finder \n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>To make \\Users folder to be visible or invisible , the command must be run with a sudo privilege and when the system hidden file mode must be set to invisible(system hidden file). follow the command we need to restart the Finder (killall Finder) and then to wait few second until the Finder will be&#8230;<\/p>\n<p class=\"more-link-wrap\"><a href=\"https:\/\/sfcompy.com\/blog\/hide-or-show-mac-users-folder-macos-cli\/\" class=\"more-link\">Read More<span class=\"screen-reader-text\"> &ldquo;Hide or Show the mac Users  folder &#8211; MacOS CLI&rdquo;<\/span> &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":231,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[61,51],"tags":[73,79,81,82,80,29],"_links":{"self":[{"href":"https:\/\/sfcompy.com\/blog\/wp-json\/wp\/v2\/posts\/45"}],"collection":[{"href":"https:\/\/sfcompy.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sfcompy.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sfcompy.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sfcompy.com\/blog\/wp-json\/wp\/v2\/comments?post=45"}],"version-history":[{"count":0,"href":"https:\/\/sfcompy.com\/blog\/wp-json\/wp\/v2\/posts\/45\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sfcompy.com\/blog\/wp-json\/wp\/v2\/media\/231"}],"wp:attachment":[{"href":"https:\/\/sfcompy.com\/blog\/wp-json\/wp\/v2\/media?parent=45"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sfcompy.com\/blog\/wp-json\/wp\/v2\/categories?post=45"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sfcompy.com\/blog\/wp-json\/wp\/v2\/tags?post=45"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}