看板FreeBSD
標 題Re: 關於 tar 進階用法~
發信站中正大學四百年來第一站 (Mon Jun 28 15:12:21 2004)
轉信站ptt!ctu-reader!news.nctu!Firebird
【 在
[email protected] (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]