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
...
爲什麼忽略命令行選項?