LINUX byDreamy postedApr 16, 2012

zip 명령어 사용법

?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

+ - Up Down Comment Print

Copyright (c) 1990-2008 Info-ZIP - Type 'zip "-L"' for software license.
Zip 3.0 (July 5th 2008). Usage:
zip [-options] [-b path] [-t mmddyyyy] [-n suffixes] [zipfile list] [-xi list]
The default action is to add or replace zipfile entries from list, which
can include the special name - to compress standard input.
If zipfile and list are omitted, zip compresses stdin to stdout.

-f   freshen: only changed files
-u   update: only changed or new files
-d   delete entries in zipfile
-m   move into zipfile (delete OS files)
-r   recurse into directories
-j   junk (don't record) directory names
-0   store only
-l   convert LF to CR LF (-ll CR LF to LF)
-1   compress faster
-9   compress better
-q   quiet operation
-v   verbose operation/print version info
-c   add one-line comments
-z   add zipfile comment
-@   read names from stdin
-o   make zipfile as old as latest entry
-x   exclude the following names
-i   include only the following names
-F   fix zipfile (-FF try harder)
-D   do not add directory entries
-A   adjust self-extracting exe
-J   junk zipfile prefix (unzipsfx)
-T   test zipfile integrity
-X   eXclude eXtra file attributes
-!   use privileges (if granted) to obtain all aspects of WinNT security
-$   include volume label
-S   include system and hidden files
-e   encrypt
-n   don't compress these suffixes
-h2  show more help


말인즉슨.


[기본 명령]

zip folder.zip ./folder/*


[디렉토리 압축]

zip -r folder.zip folder


[디렉토리 이름 없이 압축]

zip -j folder.zip ./folder/*



나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소

Designed by sketchbooks.co.kr / sketchbook5 board skin

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5