bonuskasce.blogg.se

How to open finder on mac using terminal
How to open finder on mac using terminal













how to open finder on mac using terminal

If you find you are using this command frequently, you can save it in a simple shell script and then save the script with a unique name to the /usr/bin/ directory. While navigation in this sense is more robust in the Terminal, sometimes using a GUI to manage files is a better option, and this is where this command comes in. Unlike the Finder, which by default hides a number of files based on Finder-specific settings, this command can be used to quickly access these hidden directories. This command is useful especially when you are navigating through hidden directories using the Terminal.

#HOW TO OPEN FINDER ON MAC USING TERMINAL FULL#

The "pwd" command will output the full path to the "present working directory," and the "open" command will then open this directory in the Finder. In this command, the "grave accent" characters surrounding the "pwd" command (they are not apostrophes) will run the pwd command first so the "open" command can then act on its results.

how to open finder on mac using terminal

When you are in the Terminal, just run the following command: This is actually very easy to do, and makes use of OS X's built-in "open" command, which will open a file type or location using the default applications set in the system's Launch Services. Though options for opening locations in the Terminal exist, people may not be aware of the option for going in the reverse direction, which is to open the current working directory in the Terminal in a Finder window. The utility can be placed in the Dock, but the most convenient location for it is in the Finder toolbar so it can be conveniently accessed from any Finder window.

how to open finder on mac using terminal

One I commonly use is a freeware utility called " >cd to." which will open the foremost Finder window in the Terminal. Unfortunately the Finder does not have any built-in means to open the current location in the Terminal, but there are a couple of third-party utilities that have this functionality. Sometimes navigating through folders can be easier in the Terminal, and at other times it can be easier in the Finder, but the problem comes when you try to combine the use of the two environments in the same task.įinder to Terminal Placing ">cd to." in the Finder toolbar will make it easy to access. If you are a Terminal user and like to explore and manage aspects of OS X using the command line, one convenient function is to be able to quickly access the current folder either in the Finder or in the Terminal.















How to open finder on mac using terminal