tar打包命令螃蟹就是横着走4年前更新关注20 排除特定的文件,使用--exclude选项: tar -zcvf meter-copy-service.tar.gz --exclude=*.log --exclude=*.jar meter-copy-service/ THE END日积月累 收藏