Linux 리눅스 zip/unzip > 개발자팁

개발자팁

개발과 관련된 유용한 정보를 공유하세요.
질문은 QA에서 해주시기 바랍니다.

Linux 리눅스 zip/unzip 정보

OS Linux 리눅스 zip/unzip

본문

zip -r compressed.zip /path/to/dir

여러 소스 압축

dir1, dir2, file3 세 개의 소스를 압축합니다.

zip -r compressed.zip /path/to/dir1 /path/to/dir2 /path/to/file3

 

특정 폴더에 해제

압축이 풀릴 대상을 지정하는 -d 옵션을 사용하면 원하는 폴더에 압축을 해제할 수 있습니다.

unzip compressed.zip  -d /path/to/put

 

출처 https://www.lesstif.com/lpt/linux-zip-unzip-80248839.html

추천
0
  • 복사

댓글 0개

© SIRSOFT
현재 페이지 제일 처음으로