3
我运行这个命令来压缩当前文件夹的内容,同时排除了一些目录:不包括在tar命令某些文件夹不工作
[email protected]:set3-HHLL$ l
file1.txt a/ c/
file2.inp b/ ...
[email protected]:set3-HHLL$ tar cvjf ../set3.tar.bz2 * --exclude=a/ --exclude=b/ --exclude=c/
然而,在输出我看到:
file1.txt
file2.inp
a/1.out
a/2.out
2/1.out
...
为什么忽略命令行选项?