open a file in any application (#67)

* open a file in any application

* Update readme.md
This commit is contained in:
Steve Mao
2021-10-02 18:05:24 +10:00
committed by GitHub
parent 8e7a2d3b6e
commit a4ad72893a

View File

@@ -33,6 +33,7 @@ As a computer expert, we want to be more efficient and do our jobs better. We kn
1. [show file/directory size](#show-filedirectory-size)
1. [show file/directory info](#show-filedirectory-info)
1. [open a file with the default program](#open-a-file-with-the-default-program)
1. [open a file in any application](#open-a-file-in-any-application)
1. [zip a directory](#zip-a-directory)
1. [unzip a directory](#unzip-a-directory)
1. [peek files in a zip file](#peek-files-in-a-zip-file)
@@ -199,6 +200,14 @@ $ open file # on MacOS
$ start file # on Windows
```
## open a file in any application
**STOP RIGHT CLICKING AND OPEN WITH** :-1:
```shell
$ open -a appName file
```
## zip a directory
**STOP RIGHT CLICKING AND COMPRESS DIRECTORY** :-1: