Skip to content

Commit 03b0944

Browse files
committed
Add Open Finder.app To Specific Directory as a Mac til
1 parent ace307c commit 03b0944

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pairing with smart people at Hashrocket.
1010

1111
For a steady stream of TILs, [sign up for my newsletter](https://crafty-builder-6996.ck.page/e169c61186).
1212

13-
_1185 TILs and counting..._
13+
_1186 TILs and counting..._
1414

1515
---
1616

@@ -478,6 +478,7 @@ _1185 TILs and counting..._
478478
- [Gesture For Viewing All Windows Of Current App](mac/gesture-for-viewing-all-windows-of-current-app.md)
479479
- [Insert A Non-Breaking Space Character](mac/insert-a-non-breaking-space-character.md)
480480
- [List All The Say Voices](mac/list-all-the-say-voices.md)
481+
- [Open Finder.app To Specific Directory](mac/open-finder-app-to-specific-directory.md)
481482
- [Quickly Type En Dashes And Em Dashes](mac/quickly-type-en-dashes-and-em-dashes.md)
482483
- [Require Additional JS Libraries In Postman](mac/require-additional-js-libraries-in-postman.md)
483484
- [Resize App Windows With AppleScript](mac/resize-app-windows-with-applescript.md)
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Open Finder.app To Specific Directory
2+
3+
The Mac OSX built-in GUI for navigating directories and files is _Finder.app_.
4+
I use it just about anytime I need to drag a file on my machine into Slack,
5+
Discord, Google Drive, or wherever else has a file drop zone.
6+
7+
Sometimes certain directories can be hard to navigate to because they are
8+
deeply nested or because Mac hides them by default. The `~/Library` directory
9+
is a great example of the latter.
10+
11+
I can use the `open` command from the terminal to open a Finder window right in
12+
that directory.
13+
14+
```bash
15+
$ cd ~/Library
16+
$ open .
17+
```
18+
19+
I first navigated there and then I ran `open .` which means open the current
20+
directory. For directories, `open` defaults to using Finder.app.
21+
22+
I could have also run `open` with the target directory name instead of
23+
navigating there first.
24+
25+
```bash
26+
$ open ~/Library
27+
```
28+
29+
See `man open` for more details.

0 commit comments

Comments
 (0)