Files
tldr/pages/osx/open.md
Daniel Bayley 8ce4c60a44 Update macOS references
Update references to 'OS X' to 'macOS'.
2017-07-28 21:13:30 +05:30

428 B

open

Opens files, directories and applications.

  • Open a file with the associated application:

open {{file.ext}}

  • Run a graphical macOS application:

open /Applications/{{Application.app}}

  • Open the current directory in Finder:

open .

  • Reveal a file in finder:

open -R {{path/to/file}}

  • Open all the files of a given extension in the current directory with the associated application:

open {{*.ext}}