zip打包是去掉路径

zip -j file.zip /home/XXX/file1 /home/XXX/file2

如果不带-j参数,则解压后路径会很深

posted @ 2012-10-22 10:55  桂皮猪  阅读(1211)  评论(0编辑  收藏  举报