首页 > 未分类 > touch –help

touch –help

2009年12月15日 稀饭 发表评论 阅读评论
?Download shell.sh
1
2
3
4
5
touch --help
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.

?Download shell.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  -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=FILE   use this file's times instead of current time
  -t STAMP               use [[CC]YY]MMDDhhmm[.ss] instead of current time
  --time=WORD            set time given by WORD: access atime use (same as -a)
                           modify mtime (same as -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.
 
Report bugs to <bug-coreutils@gnu.org>.

收藏与分享
分类: 未分类 标签: , , ,
  1. 本文目前尚无任何评论.
  1. 本文目前尚无任何 trackbacks 和 pingbacks.