打包命令

排除目录或文件

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

猜你喜欢

转载自www.cnblogs.com/jabbok/p/10118799.html