linux下,zip命令 只压缩文件 忽略目录
zhangzhipeng@Earth:data$ ls
weibo
zhangzhipeng@Earth:data$
zip weib.zip -j weibo/result/data.json
adding: data.json (deflated 77%)
zhangzhipeng@Earth:data$ unzip weib.zip
Archive: weib.zip
inflating: data.json
zhangzhipeng@Earth:data$ ls
weib.zip data.json weibo