mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-12-28 03:15:33 +03:00
24 lines
429 B
Markdown
24 lines
429 B
Markdown
# open
|
|
|
|
> Opens files, directories and applications.
|
|
|
|
- Open a file with the associated application:
|
|
|
|
`open {{file.ext}}`
|
|
|
|
- Run a graphical MacOSX 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}}`
|