@ZEAL Blog·厉
We stand alone,
TOGETHER.

linux下进行文件夹打包

Posted by zeal on 2005-06-17 11:49 , 147 characters |  + 1 - 0   English
转载请保留本行原始出处声明信息 : http://www.zeali.net/entry/92 MaDe1nZEAL
标签 ( 开发/理论 ):  ,  , 

把整个文件夹 folderTared 的内容打包成一个gz文件:
tar czvf folderTared.tar.gz /theDir/folderTared
把压缩的gz文件恢复到指定目录下:
tar xzvf folderTared.tar.gz /theDir/

Last Modified on 2007-05-24 17:58
1 条评论:
- () 于 2009-11-25 09:14
thanks.
Since 2005.04.27  梦想 就像鸡蛋 要么孵化 要么臭掉RSS Feed (Entries) | Back To Home | @ZEAL | 沪ICP备05024379号