topshelley2008
我们以目录 tmp 为例
1. 进入 tmp 目录的上一级目录2. zip -r tmp.zip tmp/*3. mv tmp tmp-old (这是为了安全起见,此处也可改为 rm -r -f tmp )4. unzip -LL tmp.zip