打包命令

排除目录或文件

tar zcvf fd.tar.gz * --exclude=file1 --exclude=dir1

原文地址:https://www.cnblogs.com/jabbok/p/10118799.html