how to open a file from terminal macbook code example
Example: open a file mac terminal
To use default application:
$ open ~/Desktop/filename.mp4
To use a specific application:
$ open -a "QuickTime Player" ~/Desktop/filename.mp4
To use default application:
$ open ~/Desktop/filename.mp4
To use a specific application:
$ open -a "QuickTime Player" ~/Desktop/filename.mp4