tar time stamp in the futrue的问题
来源:互联网 发布:怎么注册多个淘宝号 编辑:程序博客网 时间:2024/05/18 12:34
在A机器上用tar压缩的文件,在B机器上进行解包的时候,如果两个机器的时间不一致,如B机器的时间落后于A机器的时间,这是会出现time stamp in the futrue的问题。
如何解决这个问题呢?
方法1:检查B机器的时间,如果确有问题请修改B机器的时间(sudo date -s "YYYY-MM-DD HH:MM:SS")
方法2:使用tar命令的-m参数,比如tar xmzf abc.tar(-m, --touch, --modification-time[don't extract file modified time])
大致意思就是suppress时间戳检查,而是使用新的系统时间进行解包,解包后的文件时间戳将是新的系统时间而不是原文件的时间戳了。
以上每一条都可以解决问题,比如第一条可以修改系统的时间超过原压缩包中文件的时间戳即可,而第二条完全不顾时间戳是什么,直接修改时间戳。
阅读全文
0 0
- tar time stamp in the futrue的问题
- 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 XXX in the future”的办法
- jekins发布时报time stamp xxx is xxx s in the future的问题解决办法
- make时的烦人问题modification time in the future
- Benchmark Code on DSP using the Time Stamp Counter (TSC)
- time stamp data format
- 再论 Time stamp counter
- Just-in-time debugger的问题
- THE FIRST TIME coming in!
- The first time in CSDN.
- hackerrank The Time in Words
- unix time stamp(时间戳)和常规时间相互转换的C++代码
- 如何在PDF编辑器上更改PDF文件?
- react开发:怎样理顺 React,Flux,Redux?
- 二、kafka项目实例
- PhpStorm选中相同文字高亮
- 串口通讯—通信协议
- tar time stamp in the futrue的问题
- python socket初步
- 查看linux系统信息
- Selenium启动加载用户配置的浏览器(Chrome/Firefox)
- 提高查询效率的方法
- redis频繁连接不上
- mycat的入门教程(二)
- Redis-pipeline
- centos7离线安装docker