tar打包并且排除log目录 tar -czvf 2020-0309.tar.gz --exclude=hyp/logs --exclude=hyp/namespaces/global/data/logs dir/