-
[Linux] 리눅스 zip 압축 명령어개발Tip 2022. 2. 3. 22:37
1. ls 명령어를 쳤을 때 압축할 폴더가 있는(폴더 들어가지 X) 위치에서:
zip -r {zip파일 생성 이름} {압축할 폴더 이름}
zip -r python.zip python
2. 압축할 폴더 내부에서 zip 실행 시:
cd python
zip -r python.zip .
https://stackoverflow.com/questions/40003310/zip-error-nothing-to-do
zip error - Nothing to do
I try to zip all folders in given directory. So I wrote this find /home/user/rep/tests/data/archive/* -maxdepth 0 -type d -exec zip -r "{}" \; but got zip error: Nothing to do! (/home/user/rep/t...
stackoverflow.com
당신이 어떤 것을
할머니에게 설명해주지 못한다면,
그것은 진정으로 이해한 것이 아니다.
- A.Einstein
'개발Tip' 카테고리의 다른 글
S3/Athena DB명 하이픈 포함 시 이스케이프 문자 처리 (0) 2022.09.16 UnicodeEncodeError: 'ascii' codec can't encode characters (0) 2022.03.06 Memory 메모리 체크 Linux 명령어(Feat. RAM, GPU) (0) 2021.10.22 CLI 파라미터 변수 Shell Script 쉘 스크립트에 전달하기 (0) 2021.06.06 Port 번호 할당 조회 및 삭제하기 (0) 2021.05.11