tar time stamp in the future问题
来源:互联网 发布:士族知乎 编辑:程序博客网 时间:2024/05/18 01:06
转载自:http://www.cnblogs.com/eric-geoffrey/p/3256506.html
在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时间戳检查,而是使用新的系统时间进行解包,解包后的文件时间戳将是新的系统时间而不是原文件的时间戳了。
以上每一条都可以解决问题,比如第一条可以修改系统的时间超过原压缩包中文件的时间戳即可,而第二条完全不顾时间戳是什么,直接修改时间戳。
阅读全文
0 0
- tar time stamp in the future问题
- tar:time stamp in the future
- tar:time stamp in the future
- Tar Time Stamp in the Future
- tar时提示time stamp in the future
- tar:time stamp in the future【偶尔发现的小问题】
- tar time stamp in the futrue的问题
- 解决tar命令出现“time stamp XXX in the future”的办法
- jekins发布时报time stamp xxx is xxx s in the future的问题解决办法
- make时的烦人问题modification time in the future
- modification time xx in the future解决办法
- Superblock mount time is in the future
- [转载]Gentoo: has a modification time in the future
- linux:Superblock mount time is in the future
- Superblock last mount time is in the future.
- Modified in the future
- Benchmark Code on DSP using the Time Stamp Counter (TSC)
- JOB报错:ORA-23420: interval must evaluate to a time in the future
- HDU 3709 Balanced Number(数位dp)
- Spring中装配配置文件的三种方式
- 使用Js判断某个值是否在数组里面
- hdu 1171 Big Event in HDU 01背包
- hibernate基础
- tar time stamp in the future问题
- POJ 1562 Oil Deposits
- xml与Html兄弟情深
- glide__BitmapPool
- MYSQL数学函数
- JAVA设计模式之工厂模式(简单工厂模式+工厂方法模式+抽象工厂模式)
- TCP/IP,HTTP总结
- rsyslog 读取文件名 rsyslog 读取文件名: property(name="$!metadata!filename")
- centos 7配置JDK