2017-09-26 7 views
0

내 nw.js 응용 프로그램을 zip 파일로 압축하려고합니다. 나는 하나의 폴더로 될 수있는 zip 파일을 예상 zip -r with ~/부분적으로 복제 된 시스템 디렉토리

"win.sh" 3L, 121C 
cp ~/nout/package.nw ~/nout/win/QuantumPilotWin/package.nw 
zip -r ~/nout/QuantumPilotWin.zip ~/nout/win/QuantumPilotWin 

, QuantumPilotWin

의 대신 내가이 구조 enter image description here 얻을 : 그래서 나는이 실행 어떻게

를 I의 전체 경로없이 zip ?

편집 :

enter image description here

enter image description here

답변

1

실행하면 ~/NOUT에있을 때 -r 명령 우편/승리 :

내가 압축을 푼 폴더에이있어 조의 단계를 시도 /, 그래서 :

cd ~/nout/win/ 
zip -r ~/nout/QuantumPilotWin.zip QuantumPilotWin 
+0

그건 ..하지만 여전히 내게 준 사용자 su bdirectory. 편집을 참조하십시오. – quantumpotato

+0

@quantumpotato 사용자 폴더의 내용은 무엇입니까? – Joe

+0

편집 (하단의 두 번째 스크린 샷) – quantumpotato