Mac Download Folder Path Terminal

Some parts of your macOS are closed to visitors. Every new macOS update makes it harder for ordinary users to manipulate system-critical components. But 'harder' doesn't mean impossible. With tips we've laid out in this article you can get into the hidden parts of the operating system, access private folders, and do other things 99% of Mac users can't. Now, let's go break some rules.

Jul 05, 2019.

Access private folders on a Mac (Library)

Since 2011 the Library folder was closed from regular access. Not only was this a security risk from cyber attacks and viruses, people could too easily alter settings that proved important, and therefore, difficult to fix. However, this Library folder often proves an invaluable source of troubleshooting for those who are confident and comfortable accessing the app files contained within.

For Mac power users, you may have heard the expression to “Delete the application's plist”, which is only something you can do with access to the Library folder. If you've never heard of this before, you might have been lucky with the applications you've been using. The Library folder is also a useful place to make customizable tweaks and changes to applications and programs you use on a regular basis.

So if this sounds like something you need access to, we outline three ways we recommend to gain access.

Before you do that: are you trying to access some infected folder or a suspicious app? If that is one of the reasons you need access to the Library, I suggest to eliminate it with CleanMyMac first. In the past I have used it to clean my drive and it got rid of a nasty trojan virus in my system folders. Give it a try here — a link to download a free edition.
Pro Tip:
This app also detects private Large & Old folders on your Mac, those rarely visited by you.

Mac

Now, if you want to make space and improve the performance of apps manually, here are the three ways you can access the Library

#1: Make the Library permanently visible

Before you try this, are you familiar with the Terminal? It's not that scary as it looks.

  1. And that is how to get folder path in Mac. Nice and simple. How to find the file path using Terminal Also known as a folder path, or directory path, they aren't always easy to find. When every other method has failed, turn to Terminal as your solution. Go to Applications Utilities. Launch Terminal.
  2. The OS X Terminal is a very useful and powerful tool for troubleshooting Mac systems, and in doing so, one of the more common steps in getting a task done is to change directories to target files.

If you are, then we recommend going this route as it will provide permanent uncovered access to the Library. It will save you a whole load of time if you want and need 24/7 access. But only do this if you are perfectly comfortable and familiar using the Terminal. Making mistakes within Terminal can break things and cause problems that you would rather not have, which is the same for anyone who needs access to Library.

Apps Folder Path

Here is how you make the Library visible all of the time:

(1) Launch Terminal, which you can find in /Applications/Utilities
(2) Enter this command in Terminal: chflags nohidden ~/Library
(3) Click Return. Make sure the command is executed.
(4) Quit Terminal. Library should be visible in the Finder > Go menu

If you ever want to restore this to how it was before enter the following command in Terminal: chflags hidden ~/Library

Mail Downloads Folder Mac

Click Return again and it should be back to how it was.
If you still don't see the Library, try pressing Option key while you are in Finder > Go menu.

#2: Temporarily unhide the Library

As we mentioned, the use of Terminal — and Library — can cause things to break unexpectedly, which might mean involving an Apple specialist to fix an unexpected problem. So whenever possible, Apple prefers people to do things the way they suggest and there is a suggested Apple way to make the Library visible, albeit temporarily.

(1) Either using Desktop or the Finder Menu, hold down the option key and select the Go menu.
(2) Library should show up in the Go menu
(3) Double-click on Library, which will open a Finder window containing the contents of that folder;
(4) Once you close that window, the Library folder will be hidden again.

#3: Unhide any private folder instantly

Luckily, macOS developers provided a shortcut to access private folders on Mac. Be careful with that one as you may delete something critically important (no wonder they hid it).
Press Shift+ Command + Period (a key for period character)
Did it work? Now you can browse the transparent folders, hopefully, you'll find what you're looking for. To undo this option, press Shift + Command + Period again.

#4: How else to see hidden space on Mac?

Now, if space and the performance issues are troubling you, there is a better way of getting under the hood than accessing a private folder on Mac. Using external tools like CleanMyMac X you can quickly spot what is going on in your Mac. For example the mentioned app has the Space Lens feature. What it does is builds a visual map of your storage so you can zoom in/out and enter any folder you want. It will show you what is taking up so much room. It also shows folders you normally don't have access to.
I downloaded the app's free edition here.

Once you’ve got this information, you can safely delete anything you don't need and go to unexplored places on your Mac. Stay tuned!

The one thing that trips me up time and again when using the command line in Terminal or other terminal emulator is being able to navigate the directory structure and target files or folders. After struggling getting the correct file or folder path I’m usually greeted with No such file or directory reminding me that the command line doesn’t like spaces in file and folder paths.

With that in mind here are a few ways to enter file and folder paths on the command line.

I’m going to change the current directory to /Users/steve/Library/Application Support using the cd command.

The first method is to enclose the full path in single quotes…:

Dummy Content

…or double quotes:

Dummy Content

Mac Download Folder Path Terminals

The second is to escape any space with a backslash . The backslash should be placed immediately before each space:

Dummy Content

If the file or folder exists in the current user’s home folder we can use ~/ as shorthand to denote the user’s home folder:

Dummy Content

If we want to use single or double quotes, the opening quote must come after the ~/ shorthand:

Dummy Content

The one I tend to use most is to first type the command at the command line with a trailing space. Then locate the file or folder in the Finder and drag it to the open Terminal window:

Dragging an item from the Finder to a Terminal window

Firefox Download Folder Mac

The full path is copied at the Terminal window’s current cursor position:

Terminal window showing the full path of the Finder item