proxy代理   soft软件   IT 业界特快   norton 诺顿病毒库   代理列表   search FTP搜索   whois IP地理位置   blog 追求完美  
money理财   life生活   RSS聚合门户   firefox WEB浏览器   免费域名   typeset 假古文   AntiVirus 反病毒   ipcn 站点导航  

« 用 myisamchk 调整 mysql 的 auto_increment 自增列的 id | Main | 王垠提出退学申请 »

September 22, 2005

tar zxfk filename.tar.gz -k,--keep-old-files 不覆盖已存在文件

版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本声明。
https://windtear.net/archives/2005/09/22/000777.html http://windtear.net/archives/2005/09/22/000777.html

倒数据当然推荐rsync
不过当文件数超级多 或者网络条件等不具备时 tar 打包就是首选了

数据运到目的地后 解包时需要注意别覆盖

tar 工具的 -k 参数就提供干这事
-k,--keep-old-files 不覆盖已存在文件

       -k, --keep-old-files
              keep existing files; don't overwrite them from archive

如:
tar zxfk filename.tar.gz
本blog WWW

Posted by windtear at September 22, 2005 7:23 PM

本站使用中的任何问题,请与 windtear @ windtear.net 联系
Copyright© 1999-2024 Windtear. All rights reserved.