解决tar命令出现“time stamp XXX in the future”的办法
来源:互联网 发布:linux怎么创建用户 编辑:程序博客网 时间:2024/06/05 12:40
在A机器上用tar压缩的文件,在B机器上进行解包的时候,如果两个机器的时间不一致,如B机器的时间落后A机器的时间,这时
(2)二是使用tar命令的-m参数,比如tar xmzf abc.tgz(-m, –touch, –modification-time【don’t extract file modified time】)
就会出现time stamp in the future的问题。如何解决这个问题呢
(2)二是使用tar命令的-m参数,比如tar xmzf abc.tgz(-m, –touch, –modification-time【don’t extract file modified time】)
大致意思就是suppress时间戳检查,而是使用新的系统时间进行解包,解包后的文件时间戳将是新的系统时间而不是原文件的时间戳了。
以上每一条都可以解决问题,比如第一条可以修改系统的时间超过原压缩包中文件的时间戳即可,而第二条完全不顾时间戳是什么,直接修改时间戳。
0 0
- 解决tar命令出现“time stamp XXX in the future”的办法
- jekins发布时报time stamp xxx is xxx s 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 future【偶尔发现的小问题】
- tar time stamp in the futrue的问题
- 执行make出现“Warning: File `xxx.c' has modification time 2.6e+04 s in the future“警告的解决方法
- 执行make出现“Warning: File `xxx.c' has modification time 2.6e+04 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.
- in future 和 in the future用法的区别
- 【C#】通过webbrowser控件获取验证码
- R-数据导入导出
- 学习设计模式系列之“单例模式”
- Ubuntu Server 14.04 搭建 Q&A
- Helloworld!CSDN
- 解决tar命令出现“time stamp XXX in the future”的办法
- 网卡性能分析-Intel8257X芯片手册读后感
- A. New Year Transportation
- 碣石车行出售新颖摩托,满足大家的机车梦
- mysql数据库优化
- Linux下的压缩zip,解压缩unzip命令详解及实例
- Java不写文件,LOAD DATA LOCAL INFILE大批量导入数据到MySQL的实现
- 修改page_alloc.c过程中的一些笔记
- java_web初学笔记之<泛型的类型擦除>