In previous versions of mac/os/x you could type a slash in a open dialog, and the dialog would then let you enter an arbitrary path, such as /tmp
. In Sierra, the slash key does nothing in open dialogs. Is there a way to re-enable that feature, or another way to get to an arbitrary path (preferably with the keyboard) in an open dialog?
MacOS – “slash trick” Accessing arbitrary paths in open dialogs in Sierra
dialogmacos
Related Question
- MacOS – Always show hidden in Open/Save dialogs
- MacOS – Is it possible to always show hidden/dotfiles in Open/Save dialogs
- MacOS – Display hidden files hot key on Mavericks gone
- MacOS – How to type backslash and pipe? (Czech layout, USB keyboard)
- MacOS – Keyboard shortcut for “Revert Changes” in closing dialog
- MacOS – AppleScript progress bar bug: How to prevent progress dialog from lingering
- Big Sur – unresponsive dialogs to mouse actions
Best Answer
Pressing Command-Shift-G in a standard open (or save) dialog will open a "Go to the folder" dialog that accepts unix-style paths (and does tab-completion). If you want to open a hidden file, pressing Command-Shift-Period in the open/save dialog will show hidden items.
(BTW, the Command-Shift-G shortcut also works in the Finder, and is equivalent to choosing Go menu > Go to Folder. Unfortunately, Command-Shift-Period doesn't work in Finder, only in open/save dialogs.)