1COOKTIME(1) General Commands Manual COOKTIME(1)
2
3
4
6 cooktime - set file times
7
9 cooktime [ option... ] filename...
10 cooktime -Help
11 cooktime -VERSion
12
14 The cooktime program is used to set the modified time or access time
15 of a file. This can be used to defend against unwanted logical
16 dependencies when making "minor" changes to files.
17
18 If no option is specified, the default action is as if "-Modify now"
19 was specified.
20
22 The following options are understood.
23
24 -Access date
25 This option may be used to set the last-access time of the
26 files. The date is relatively free-format; rember to use
27 quotes to insulate spaces from the shell.
28
29 -Modify date
30 This option may be used to set the last-modify time of the
31 files. The date is relatively free-format; rember to use
32 quotes to insulate spaces from the shell.
33
34 -Time-Stamp-Granularity seconds
35 This option may be used to specify the granularity of the
36 filesystem's timestamps, otherwise a default value of 1 second
37 is used.
38
39 -Report
40 When use alone, produces a listing of access times and modify
41 times for the named files. When used with -Access or -Modify,
42 produces a listing of the changes made.
43
44 -Help
45 Give some information on how to use the cooktime command.
46
47 Any other option will generate a diagnostic error.
48
49 All options may be abbreviated; the abbreviation is documented as the
50 upper case letters, all lower case letters and underscores (_) are
51 optional. You must use consecutive sequences of optional letters.
52
53 All options are case insensitive, you may type them in upper case or
54 lower case or a combination of both, case is not important.
55
56 For example: the arguments "-help", "-HEL" and "-h" are all
57 interpreted to mean the -Help option. The argument "-hlp" will not be
58 understood, because consecutive optional characters were not supplied.
59
60 Options and other command line arguments may be mixed arbitrarily on
61 the command line.
62
63 The GNU long option names are understood. Since all option names for
64 cooktime are long, this means ignoring the extra leading '-'. The
65 "--option=value" convention is also understood.
66
68 The cooktime command will exit with a status of 1 on any error. The
69 cooktime command will only exit with a status of 0 if there are no
70 errors.
71
73 cooktime version 2.30
74 Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996,
75 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Peter
76 Miller; All rights reserved.
77
78 The cooktime program comes with ABSOLUTELY NO WARRANTY; for details
79 use the 'cooktime -VERSion License' command. This is free software
80 and you are welcome to redistribute it under certain conditions; for
81 details use the 'cooktime -VERSion License' command.
82
84 Peter Miller E-Mail: millerp@canb.auug.org.au
85 /\/\* WWW: http://www.canb.auug.org.au/~millerp/
86
87
88
89Reference Manual Cook COOKTIME(1)