MacOS – “slash trick” Accessing arbitrary paths in open dialogs in Sierra

dialogmacos

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?

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.)