tar zcvf ./xxx.tar.gz ./directory

打包命令

原文地址:https://www.cnblogs.com/lexus/p/2406350.html