2013年8月14日

tar time stamp in the future问题

摘要: 在A机器上用tar压缩的文件,在B机器上进行解包的时候,如果两个机器的时间不一致,如B机器的时间落后A机器的时间,这时就会出现time stamp in the future的问题。如何解决这个问题呢:(1)一是检查B机器的时间,如果确有问题请修改B机器的时间(sudo date -s "YYYY-MM-DD HH:MM:SS")(2)二是使用tar命令的-m参数,比如tar xmzf abc.tgz(-m, --touch, --modification-time【don't extract file modified time】)大致意思就是suppress时间 阅读全文

posted @ 2013-08-14 09:41 eric.geoffrey 阅读(4858) 评论(0) 推荐(0) 编辑

导航