MAC

[MAC] Window PC 로 받은 ZIP 파일 압축 해제하기

아람2 2026. 1. 8. 10:33
반응형

권한 문제가 있어 코드를 ZIP 파일로 받았는데 압축이 풀리지 않았다 

 

그 분은 Gram 을 쓰시고, 나는 MAC 이라 그런 듯 했다 

 

먼저 터미널에서 unzip 을 시도했지만 되지 않았다 

➜  Desktop unzip Exmample.zip
Archive:  Exmample.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of Exmample.zip or
        Exmample.zip.zip, and cannot find Exmample.zip.ZIP, period.
➜  Desktop

 

터미널로 강제 해제했다 

ditto -x -k Example.zip extracted
ditto: Example/[FileName]: No such file or directory
ditto: Couldn't read pkzip signature.
ditto: Couldn't read pkzip signature.
ditto: Couldn't read pkzip signature.
ditto: Couldn't read pkzip signature.
ditto: Couldn't read pkzip signature.
ditto: Couldn't read pkzip signature.
➜  Desktop

 

짠!

반응형

'MAC' 카테고리의 다른 글

macOS 에 NVM 설치하기  (0) 2026.01.14
[MAC] Finder 에서 VS Code 빠른 실행 추가가 안 될 때  (0) 2025.11.18
[MAC] VSCode 세팅하기  (0) 2025.10.22
[MAC] 외부 키보드 키 매핑  (0) 2025.10.16
[MAC] TouchEN 프로그램 삭제  (0) 2025.06.11