Linux下的zip與unzip用法 | 三畝說…

Linux下的zip與unzip用法 | 三畝說…

瀏覽:923
日期:2024-09-13
zip命令的基本用法是:zip [參數] [文件1] [文件2] 簡單例子: 把本目錄下的test檔打包成test.zip文件:zip test.zip test/* ,如果在檔中用絕對的路徑,那麼在壓縮檔中也是絕對路徑。 就是說,如果你 zip test.zip /home/test/* ,那麼在壓縮檔中也是這樣的層次關係。...看更多