makefile has modification time in the future暨更改linux系统时间

时间戳问题可以更改系统时间,也可以更改文件的修改时间
sudo date -s '20160727 18:51:56'   //sudo date -s 20160727 //sudo date -s 18:51:56

Usage: touch [OPTION]... FILE... 
Update the access and modification times of each FILE to the current time. 

Mandatory arguments to long options are mandatory for short options too. 
-a change only the access time 
-c, --no-create do not create any files 
-d, --date=STRING parse STRING and use it instead of current time 
-f (ignored) 
-m change only the modification time  //sudo touch -m filename  //sudo touch -m ./*
-r, --reference=FILE use this file 's times instead of current time 
-t STAMP use [[CC]YY]MMDDhhmm[.ss] instead of current time 
--time=WORD change the specified time: 
WORD is access, atime, or use: equivalent to -a 
WORD is modify or mtime: equivalent to -m 
--help display this help and exit 
--version output version information and exit 

Note that the -d and -t options accept different time-date formats. 

If a FILE is -, touch standard output. 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值