比如你打包abc这个文件, abc这个文件里的aa文件是你不想打包的。tar cvf abc --exclude aa 转载于:https://www.cnblogs.com/si-ren/archive/2010/06/12/2447715.html