tldr/pages/osx/open.md

24 lines
425 B
Markdown
Raw Normal View History

# open
> Opens files, directories and applications
- Open a file with the associated application
2015-12-29 23:43:46 +00:00
`open {{file.ext}}`
- Run a graphical MacOSX application
2015-12-29 23:43:46 +00:00
`open /Applications/{{Application.app}}`
- Open the current directory in Finder
`open .`
- Reveal a file in finder
2015-12-29 23:43:46 +00:00
`open -R /path/dir/{{file}}`
2015-12-29 23:43:46 +00:00
- Open all the files of a given extension in the current directory with the associated application
2015-12-29 23:43:46 +00:00
`open {{*.ext}}`