【 在 cody.bbs@redbbs.cc.ntut.edu.tw (Cody) 的大作中提到: 】
: 最近想 tar /home/* 但是不包含 *.tgz 跟某些檔案或是目錄
: 請問有人知道語法要怎麼下嗎??
: man tar 都找不到相關參數~
沒用過
不過隨便找一下
--exclude pattern Exclude files matching the pattern (don't extract
them, don't add them, don't list them).
-X file
--exclude-from file Exclude files listed in file.
--
※ 來源:‧四百年來第一站 firebird.cs.ccu.edu.tw‧[FROM: 203-70-2-53.ads]