리눅스 환경에서 7za 압축할때 특정파일 제외시키기 edit

http://sourceforge.net/projects/p7zip/forums/forum/383043/topic/1909015

리눅스 환경에선 작은따옴표('')로 -xr옵션을 감싸주어야 에러가 안난다.

7za a -mx9 -ms '-xr!*.m2ts' test.7z

-x-xr의 차이

http://superuser.com/questions/330005/7zip-how-to-exclude-files-not-file-types-using-an-exclude-list-fileNotice -xr instead of -x. The r indicates recursive so it can match excluded files in deep folder hierarchies.

-xr옵션은 하위의 모든 폴더들에서도 적용된다.

0 comments:

Post a Comment

Newer -> <- Older