From 68fbe703b55d3a0cd0c9dc2bbfbe71dc5a89d38b Mon Sep 17 00:00:00 2001 From: "chen.yang" Date: Wed, 30 Mar 2022 16:31:16 +0800 Subject: [PATCH] =?UTF-8?q?tar=20=E5=A2=9E=E5=8A=A0=E9=85=8D=E5=87=BA?= =?UTF-8?q?=E6=96=87=E4=BB=B6/=E5=A4=B9=E5=8F=82=E6=95=B0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chen.yang --- Software/Applications/Tar/Tar_压缩和解压缩.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Software/Applications/Tar/Tar_压缩和解压缩.md b/Software/Applications/Tar/Tar_压缩和解压缩.md index c87a0ee..c45c512 100644 --- a/Software/Applications/Tar/Tar_压缩和解压缩.md +++ b/Software/Applications/Tar/Tar_压缩和解压缩.md @@ -22,6 +22,8 @@ tar -cvzf .tar.gz # bz2:bz2 是 Linux 下常见的压缩文件格式,是由具有高压缩率的压缩工具 bzip2 生成,以后缀为 .bz2 结尾的压缩文件。 tar -cvjf .tar.bz2 +# 排除文件/文件夹 +tar -cvzf .tar.gz --exclude= --exclude= ``` ## 解压缩