TOUCH(1)
touch - change file timestamps
touch [option]... FILE...
以当前时间更新文件的访问和修改时间。
-a 只改变访问时间
-c, --no-create 不创建任何文件
-d, --date=STRING 指定当前时间
-m 只改变修改时间。
-r, --reference=FILE 用文件的时间作为当前时间
-t STAMP 指定时间,格式为[[CC]YY]MMDDhhmm[.ss]
--time=WORD set time given by WORD: access atime use (same as -a) modify mtime (same as -m)
--help
--version
touch - change file timestamps
touch [option]... FILE...
以当前时间更新文件的访问和修改时间。
-a 只改变访问时间
-c, --no-create 不创建任何文件
-d, --date=STRING 指定当前时间
-m 只改变修改时间。
-r, --reference=FILE 用文件的时间作为当前时间
-t STAMP 指定时间,格式为[[CC]YY]MMDDhhmm[.ss]
--time=WORD set time given by WORD: access atime use (same as -a) modify mtime (same as -m)
--help
--version