最近發現 msys2 內沒有 zip 指令
雖然有其他的壓縮程式
但要去修改下載下來的程式碼就變得好懶惰
這時候可以去安裝以下檔案
GoW (Gnu On Windows) - The lightweight alternative to Cygwin
https://github.com/bmatzelle/gow/wiki
我的安裝方式是
先將 GoW 安裝沙盒內
然後再將
Gow路徑\bin 內的所有檔案複製到
msys2路徑\mingw64\bin
遇到重覆的檔案則選擇略過
目前暫時沒有發現什麼衝突狀況
Below are just a few of the
100+ applications found in Gow.
-
Shell scripting: bash, zsh
-
Compression: gzip, zip, bzip2, compress
-
SSH: putty, psftp, pscp, pageant, plink
-
Download/upload: cURL, wget
-
FTP: NcFTP
-
Editing: vim, nano
-
Text search/view: grep, agrep, less, cat, tail, head
-
File system: mv, cp, du, ls, pwd, rmdir, whereis
-
Development: make, diff, diff3, sleep, cvs, dos2unix, unix2dos