달력

92011  이전 다음

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30

'2011/09'에 해당되는 글 1건

  1. 2011.09.27 Zip 명령어

Zip 명령어

창고/컴터 2011. 9. 27. 12:11
Windows에서 아마도 (XP 이상) 귀찮아서 정확한 버전까지는 찾아보기 싫음..

그냥 cmd창에서

zip /help를 타이핑해서 뭔가 나오면... 있는 것이다...

 그 내용을 보면... 내컴의 경우 아래와 같다... 

 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 -r mydir.zip mydir
Posted by 촌돌애비
|