리눅스에서 분할 압축

가끔씩 Cygwin을 써서 압축 할 때
용량 큰 파일 때문에 애매했을 때... ㅋ 그냥 임의로 폴더를 나눠서 묶어 줬는데..
이런 방법이 있을 줄이야.. ㅠ.ㅜ

분할 압축 할 때,

tar czvf - test/* | split -b 100m - test.tar.gz

tar cvf - test/* | split -b 100m - test.tar


cat test.tar.gz* | gzip -d - | tar xvf -

cat test.tar* | gzip -d - | tar xvf -


분할 압축 한것 해제 할 때,

상당히 유용하게 쓸 것 같아서 포스팅 해놈.. ㅋㅋㅋㅋ


출처: http://qaos.com/article.php?sid=2194
크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by gwlee

2008/08/25 02:37 2008/08/25 02:37
Response
0 Trackbacks , 0 Comments
RSS :
http://thegreatgoodplace.com/tt/study/rss/response/46

Trackback URL : http://thegreatgoodplace.com/tt/study/trackback/46

Leave a comment
« Previous : 1 : ... 8 : 9 : 10 : 11 : 12 : 13 : 14 : 15 : 16 : ... 55 : Next »