070-8260-2526

9 ~ 6

352-0331-1626-83

:ũڸ


ֹ
Ȩ > > ֹ

ȸ 9617
] zip ϱ and Ǯ


2014.01.15 20:19 Linux/Ubuntu

zip Ǯ ؼ  (⿡ ۼصξ.. http://ngee.tistory.com/215)



zip Ǯ

zip Ǯؼ unzip ̶ Ű ġǾ ־ մϴ.



ڵ ġǴ 𸣰ڱ. unzip Ű



apt-get install unzip ؼ ġϽø ˴ϴ.



׷ zip Ǯؼ¿.  happy.zip ̶ ִٰ ϸ



ɾ : unzip happy.zip



̷ Ǯ? :)



) 2014/11/07)

Ư Ǯ ? ׷ -d ɼ ֽø ˴ϴ.

happy.zip ./target ̶ Ǯ



ɾ : unzip happy.zip -d ./target









zip ϱ

zip ϱ ؼ zip ̶ ɾ Ͻø ˴ϴ.


 ִ zip ϴµ, ϸ test.zip ̶ ϸ.


ɾ : zip test.zip ./*


Ͻø ˴ϴ. zip ̴ , ̸ test.zip ̶ ̱. ./* ̶ ̱.


ִµ, װ͵ ϱ ؼ -r ̶ ɼ ָ DZ.


ɾ : zip -r test.zip ./*  


Ͻø ǰ. test.zip ϰ Ͱ 鵵 ض Դϴ.




+++ 20160206)


zip r ɼ ϴ 쿡 ٸ
ũƮ ִ.
ΰ ƴ϶ η Ͽ 쿡 Ǯ /var/www/html/fflflflf/flflflf ̷ ֱ ̴.
̰ -j ɼ ذ ϴ. -jɼǰ -r ɼ .


׷ ũƮ -r ɼ ״ ϵ cd ̵ zip ϸ
ϰ ο شϴ Ⱥ ȴ.


ex) cd /var/www/html && zip -r test.zip ./*