Trending
  • How to delete YouTube history on Android, iOS, The Web
    How to delete YouTube history on Android, iOS, The Web
  • Best Google Chrome Extensions You Should Install
    Best Google Chrome Extensions You Should Install
  • Best NTFS Apps For Mac - Write to NTFS Drives in macOS
    Best NTFS Apps For Mac - Write to NTFS Drives in macOS
  • How to Preview Files in the Trash on Your Mac
    How to Preview Files in the Trash on Your Mac
  • How You Can Keep Your WiFi Safe

    How You Can Keep Your WiFi Safe

    Even if having to deal with WiFi security is a real pain for some, it is something that needs to attention. Someone could steal your WiFi and use it for who knows what and cross your fingers that it is not for anything illegal.

    Read more...

  • What You Should Keep in Mind Before Buying a Used Smartphone

    What You Should Keep in Mind Before Buying a Used Smartphone

    As long as the phone works fine and has what you need, who care if it's not this years model. So, you've decided that the best thing you can do is buy a used phone. Before you go phone shopping, there are some things you need to keep in mind before you buy.

    Read more...

  • The Most Effective Ways to Get More Followers on Instagram

    The Most Effective Ways to Get More Followers on Instagram

    Before you give up and think about closing your Instagram account, there are some tips and tricks on how to increase your Instagram followers you should know about. By following these tips,...

    Read more...

  • How to Make a GIF From a Video (Windows, Mac, iOS, Android)

    How to Make a GIF From a Video (Windows, Mac, iOS, Android)

    ver the certain period of time, GIF images have gained so much popularity, and you can see them on the Social Networking websites. In the comments section of a website or your Twitter timeline, GIF is actually an animated image format which is created from different images or videos.

    Read more...

  • How to Take Great Pictures with Your Android Device

    How to Take Great Pictures with Your Android Device

    When was the last time you used a digital camera to take a picture? It's probably been a while, right? Most of us used our smartphone to take a million pictures of our pets or of that beautiful sunset you were lucky enough to see.

    Read more...

  • The Best iPhone 7 Tips and Tricks You're Probably Not Using

    The Best iPhone 7 Tips and Tricks You're Probably Not Using

    iOS offers an endless amount of great features you can enjoy, but you may not be taking advantage of them because you might not even know they exist or are too afraid you'll mess something up by tampering with it.

    Read more...

  • Everything You Sould Know Before Buying an SD Card

    Everything You Sould Know Before Buying an SD Card

    It's almost hard to believe that something so small can cause so many problems, doubts or confusion. For some, how you choose an SD card is of little or no importance while to others it's the most important thing.

    Read more...

How to Hide and Show Hidden Files, Folders on macOS

How to Hide and Show Hidden Files, Folders on macOS

7.0/7 rating 1 vote

In contrast to Microsoft Windows, by default, the macOS hides system files to make sure that Mac newbies do not get in the way with the inner operations of a Mac. There is a wonderfully reasonable description for that.

If you look for yourself wanting to get access to hidden files on Mac OS X, such as a .htaccess file which you got from your Hosting or VPS, a .bash_profile, a . DS_Store... you can certainly perform the below command through the terminal to make hidden files become apparent with Mac (Mac OS X 10.7, 10.8, 10.9 and 10.10 Yosemite, El Capitan and macOS Sierra).

How to Hide Files and View Hidden Files by using Terminal

TerminalNote
Show Hidden Files or Foldersdefaults write com.apple.finder AppleShowAllFiles YES
killall Finder
Press Return after each line
Hide Hidden Files or Foldersdefaults write com.apple.finder AppleShowAllFiles NO
killall Finder
Press Return after each line
Hide a File or Folderchflags hidden [...][...] = The path of the file or folder
Unhide a File or Folderchflags nohidden [...][...] = The path of the file or folder

The Terminal is the most effective method to show hidden files or folders in Mac OS X. The Terminal application allows you to manage Mac OS X working with the command lines to get in Unix commands.

How to show Hidden Files in the Finder

Here is easy way to launch a Terminal window and use the following commands line in it, just hit Return button after each line:

Step 1: Open the Terminal

Open the Finder and then click Go >> Utilities. A new window appears, you can see the Terminal and double click on it.

how to hide show files mac 2

how to hide show files mac 3

 

Or you also go to LaunchPad >> Find the Other >> Click on Terminal.

how to hide show files mac 3

Step 2: Copy and Paste the command lines into Terminal

In a moment, you can copy and paste the two lines listed here into Terminal separately, and hit Return after each line:

defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder

The first line, when you press Return, nothing occurs yet simply because you have to relaunch the Finder for the adjustments to work.

how to hide show files mac 5

The last line, you'll find the Finder quits and then relaunches itself quite fast with the in the result.

If the last line doesn't work, you are able to also relaunch the Finder by pressing and holding Option + Control and clicking on the Finder icon in the Dock, then click on Relaunch.

how to hide show files mac 6

Launch Finder through clicking on its icon in the Dock. You are going to view the hidden files are now apparent. Hidden files are displayed with lighter words. It's like image below:

how to hide show files mac 7

Step 3: Exit the Terminal program

This can be exited by selecting "Quit Terminal" from the Terminal menu or also use Command + Q to exit.

How to Hide hidden files in the Finder again in Mac

Step 1: Open the Terminal

Step 2: If you want to get hidden files again, you are able to simply use the same command but write NO by the end or type the following command line below.

defaults write com.apple.finder AppleShowAllFiles NO
killall Finder

how to hide show files mac 8

The hidden files will be certainly reverted.

how to hide show files mac 9

Ways to manage individual hidden files or folders

Hiding a File or Folder

The simplest method to multiple hidden files that change a unique attribute on the file known as a Finder flag. You are able to easily set a file, folder as hidden using the "chflags" command line in the Terminal.

The first, open the Terminal and type the following command line:

chflags hidden

Make sure to type a space after "hidden".

hidden files folders 1

Then Drop and Drag the wanted file or folder to the Terminal window. Hit Return to run the command.

hidden files folders 1

This is going to set the file as hidden.

Opening a Hidden Files or Folder

To access the hidden file from the Finder, you can click the Go menu in the Finder and select Go to Folder.

Put the path of the file into the dialog box and click Go or press Enter. The ~ means your user directory, so if you had already a directory named like HiddenFolder on your Document, you just enter: ~/Desktop/HiddenFolder.

Open the folder which was hidden recently at Desktop

hidden files folders 1

Open the folder which was hidden recently at Disk

hidden files folders 1

Note: If you don't make sure the path of folder or file, you can open the Terminal and drag the folder into it. Then, you can see the path immediately.

Unhiding a File or Folder

In shorts, copy and paste the following command into the terminal, including a space in the end.

chflags nohidden

If you keep in mind the correct path of the folder or file, you are able to type it inside the terminal. If you really don't make sure, you can certainly use the above tip to show hidden files and folder in the Finder and then drag the hidden file or folder into the Terminal.

hidden files folders 1

Hit Enter later and the file or folder will come to be unhidden, so you are able to open it as normal.

Tricks: You are able to press the up and down arrow button at the terminal to get with commands recently.


Latest

  • How You Can Keep Your WiFi Safe
    How You Can Keep Your WiFi Safe
  • How to Hide Pictures, App Icons and Files on Android
    How to Hide Pictures, App Icons and Files on Android
  • What You Should Keep in Mind Before Buying a Used Smartphone
    What You Should Keep in Mind Before Buying a Used Smartphone
  • 10 Best Backpacks for College Students
    10 Best Backpacks for College Students
  • Top 5+ Best Point and Shoot Digital Camera
    Top 5+ Best Point and Shoot Digital Camera
  • How to Use Face Swap on Snapchat ( Face-Swap Feature )
    How to Use Face Swap on Snapchat ( Face-Swap Feature )

Author

Solomen
Solomen

Solomen is Editor of OMG!Howto who covers technology news, how-to guides and more. Solomen uses an iOS and Android devices as well as Mac and Windows. In his free time, he often listens to Baroque music and goes swimming. Follow him on Instagram: @solomen1992

comment

Comments (1)

Leave a comment

You are commenting as guest.

Recent Comment

Great article

I run Directory Report as an administrator
That way it can find hidden file
http://www.file-utilities.com

It can...

Allan Man 23. November, 2016 |

This article is best google chorme are install.This extensions are help different email autuomatically introduce to user. This is must...

Tilly Wilson 10. November, 2016 |

Photobucket has been having technical issues for some time and is, in fact, down right now.

Also, you REALLY need a copy editor. Are...

EvenNote 04. November, 2016 |

About Website

OMG!HOWTO is a technology website where we cover the latest from Apple, Facebook, Microsoft and Tips & Tricks. We seek to present fresh news, useful tips, tutorials, applications that the modern technology user will appreciate. OMGHOWTO.COM is powered by Joomla.

0
Shares
0
Shares