小懶蟲的blog~
Tuesday, September 01, 2015
tar的多重exclude寫法
正常是這樣:
tar --exclude=EXCLUDE_1 --exclude=EXCLUDE_2 ....
但是多起來的時候會很囉嗦.
另一個比較簡便的寫法是, 用大括號:
tar --exclude={EXCLUDE_1,EXCLUDE_2.....}
Newer Posts
Older Posts
Home
View mobile version
Subscribe to:
Posts (Atom)