tar 打包文件 除某个文件夹

 tar -cvf test2.tar --exclude=test/test10 test/

原文地址:https://www.cnblogs.com/bass6/p/5962071.html