Linux下编译工程时,有时候需要修改代码文件时间,命令行上采用find+touch可修改为当前时间。 find . -exec touch {} \; 对于tar 文件: tar -xvf xxx.tar --touch