zip Ǯ ؼ ( ۼصξ.. http://ngee.tistory.com/215)
zip Ǯ
zip Ǯؼ unzip ̶ Ű ġǾ ־ մϴ.
ڵ ġǴ ڱ. unzip Ű
apt-get install unzip ؼ ġϽø ˴ϴ.
zip Ǯؼ¿. 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 ./*