|
|
发表于 2005-4-17 03:43:37
|
显示全部楼层
- dehao@7dehao ~ $ touch --help
- 用法:touch [选项]... 目录...
- 将每个<文件>的访问及修改时间都更新为目前的时间。
- 长选项必须用的参数在使用短选项时也是必须的。
- -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
- -r, --reference=文件 使用指定<文件>的时间属性而非目前的时间
- -t STAMP 使用 [[CC]YY]MMDDhhmm[.ss] 格式的时间而非目前的时间
- --time=WORD 使用 WORD 指定的时间:access、atime、use 都等於 -a
- 选项的效果,而 modify、mtime 等於 -m 选项的效果
- --help 显示此帮助信息并离开
- --version 显示版本信息并离开
- 请注意,-d 和 -t 选项可接受不同的时间/日期格式。
- Report bugs to <bug-coreutils@gnu.org>.
复制代码 |
|