tar:time stamp in the future【偶尔发现的小问题】
2016-11-10 14:53
429 查看
来源:http://blog.csdn.net/caspiansea/article/details/17700165
如果解压一个拷贝自一个系统时间在当前系统之后的 包,会提示如题目这样。
[plain] view
plain copy
print?
tar: openssl-1.0.1e/apps/openssl.cnf: time stamp 2013-12-31 15:26:04 is 1360584537.139999998 s in the future
openssl-1.0.1e/apps/openssl-vms.cnf
tar: openssl-1.0.1e/apps/openssl-vms.cnf: time stamp 2013-12-31 15:26:04 is 1360584537.129999998 s in the future
openssl-1.0.1e/apps/passwd.c
可以用 -m参数来把文件的时间(modify time)设置为当前系统的时间。
[plain] view
plain copy
print?
tar zxmvf openssl-1.0.1e.tar.gz
还有一种方法是解压后修改每个文件的时间:
[plain] view
plain copy
print?
mkdir foo
mv openssl-1.0.1e.tar.gz foo/
cd foo/
tar xvvzf openssl-1.0.1e.tar.gz
find . -exec touch -am '{}' \;
如果解压一个拷贝自一个系统时间在当前系统之后的 包,会提示如题目这样。
[plain] view
plain copy
print?
tar: openssl-1.0.1e/apps/openssl.cnf: time stamp 2013-12-31 15:26:04 is 1360584537.139999998 s in the future
openssl-1.0.1e/apps/openssl-vms.cnf
tar: openssl-1.0.1e/apps/openssl-vms.cnf: time stamp 2013-12-31 15:26:04 is 1360584537.129999998 s in the future
openssl-1.0.1e/apps/passwd.c
可以用 -m参数来把文件的时间(modify time)设置为当前系统的时间。
[plain] view
plain copy
print?
tar zxmvf openssl-1.0.1e.tar.gz
还有一种方法是解压后修改每个文件的时间:
[plain] view
plain copy
print?
mkdir foo
mv openssl-1.0.1e.tar.gz foo/
cd foo/
tar xvvzf openssl-1.0.1e.tar.gz
find . -exec touch -am '{}' \;
相关文章推荐
- tar time stamp in the future问题
- 【原】linux下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 in the future
- tar时提示time stamp in the future
- make时的烦人问题modification time in the future
- make时modification time in the future问题
- Superblock mount time is in the future(转载)
- make: Warning: File `Makefile' has modification time 17 s in the future
- make: Warning: File `Makefile' has modification time 2.4e 08 s in the future
- Superblock mount time is in the future
- Warning File `.depend' has modification time 1.6 s in the future
- makefile has modification time in the future暨更改linux系统时间
- 错误:Warning: File `../table/table.pro' has modification time 3.9e+08 s in the future
- ubuntu make[1]: Warning: File `scripts/Makefile.host' has modification time 3.4e+08 s in the future
- Warning: File `src/core/nginx.h' has modification time 1.2e+07 s in the future