.lf 1 lib/en/man1/cooktime.1 '\" t .\" cook - file construction tool .\" Copyright (C) 1991-1994, 1997, 2001, 2007, 2008 Peter Miller .\" .\" This program is free software; you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by .\" the Free Software Foundation; either version 3 of the License, or .\" (at your option) any later version. .\" .\" This program is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public License .\" along with this program. If not, see .\" . .\" .TH COOKTIME 1 Cook "Reference Manual" .lf 1 lib/en/man1/z_name.so .\" .\" cook - file construction tool .\" Copyright (C) 1994, 1995, 1997, 2007, 2008 Peter Miller .\" .\" This program is free software; you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by .\" the Free Software Foundation; either version 3 of the License, or .\" (at your option) any later version. .\" .\" This program is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public License .\" along with this program. If not, see .\" . .\" .ds n) cook .ds N) Cook .if n .nr )M 8n .if n .nr IN 8n .if n .nr )I 8n .if n .po 0 .if n .hy 0 .if n .ad l .lf 21 lib/en/man1/cooktime.1 .ds n) cooktime .SH NAME \*(n) \- set file times .XX "cooktime(1)" "set file times" .SH SYNOPSIS .B \*(n) [ .IR option \&... ] .IR filename \&... .br .B \*(n) .B -Help .br .B \*(n) .B -VERSion .SH DESCRIPTION The .I \*(n) program is used to set the modified time or access time of a file. This can be used to defend against unwanted logical dependencies when making "minor" changes to files. .PP If no option is specified, the default action is as if "\fI\-Modify now\fP" was specified. .br .ne 1i .SH OPTIONS The following options are understood. .TP 8n \fB\-Access\fP \fIdate\fP .br This option may be used to set the last-access time of the files. The date is relatively free-format; rember to use quotes to insulate spaces from the shell. .TP 8n \fB\-Modify\fP \fIdate\fP .br This option may be used to set the last-modify time of the files. The date is relatively free-format; rember to use quotes to insulate spaces from the shell. .TP 8n \fB\-Time-Stamp-Granularity\fP \fIseconds\fP .br This option may be used to specify the granularity of the filesystem's timestamps, otherwise a default value of 1 second is used. .TP 8n \fB\-Report\fP .br When use alone, produces a listing of access times and modify times for the named files. When used with -Access or -Modify, produces a listing of the changes made. .TP 8n \fB\-Help\fP .br Give some information on how to use the .I \*(n) command. .PP Any other option will generate a diagnostic error. .lf 1 lib/en/man1/o__rules.so .\" .\" cook - file construction tool .\" Copyright (C) 1993, 1997, 2007, 2008 Peter Miller .\" .\" This program is free software; you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by .\" the Free Software Foundation; either version 3 of the License, or .\" (at your option) any later version. .\" .\" This program is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public License .\" along with this program. If not, see .\" . .\" .PP All options may be abbreviated; the abbreviation is documented as the upper case letters, all lower case letters and underscores (_) are optional. You must use consecutive sequences of optional letters. .PP All options are case insensitive, you may type them in upper case or lower case or a combination of both, case is not important. .PP For example: the arguments "-help", "-HEL" and "-h" are all interpreted to mean the \fB-Help\fP option. The argument "-hlp" will not be understood, because consecutive optional characters were not supplied. .PP Options and other command line arguments may be mixed arbitrarily on the command line. .br .ne 4 .PP The GNU long option names are understood. Since all option names for .I \*(n) are long, this means ignoring the extra leading '-'. The "\fB--\fIoption\fB=\fIvalue\fR" convention is also understood. .lf 86 lib/en/man1/cooktime.1 .lf 1 lib/en/man1/z_exit.so .\" .\" cook - file construction tool .\" Copyright (C) 1993, 1994, 1997, 2001, 2007, 2008 Peter Miller .\" .\" This program is free software; you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by .\" the Free Software Foundation; either version 3 of the License, or .\" (at your option) any later version. .\" .\" This program is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public License .\" along with this program. If not, see .\" . .\" .br .ne 1i .SH EXIT STATUS The .I \*(n) command will exit with a status of 1 on any error. The .I \*(n) command will only exit with a status of 0 if there are no errors. .lf 87 lib/en/man1/cooktime.1 .lf 1 lib/en/man1/copyright.so .\" .\" cook - file construction tool .\" Copyright (C) 1993-1995, 1997, 2007-2009 Peter Miller .\" .\" This program is free software; you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by .\" the Free Software Foundation; either version 3 of the License, or .\" (at your option) any later version. .\" .\" This program is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public License .\" along with this program. If not, see .\" . .\" .br .ne 1i .SH COPYRIGHT .lf 1 etc/../etc/version.so .ds V) 2.33.D001 .ds v) 2.33 .ds Y) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 .lf 23 lib/en/man1/copyright.so .I \*(n) version \*(v) .br Copyright .if n (C) .if t \(co .nr d) \n(.d \*(Y) Peter Miller .if '\n(d)'\n(.d' .br .PP The .I \*(n) program comes with ABSOLUTELY NO WARRANTY; for details use the '\fI\*(n) -VERSion License\fP' command. This is free software and you are welcome to redistribute it under certain conditions; for details use the '\fI\*(n) -VERSion License\fP' command. .br .ne 1i .SH AUTHOR .TS tab(;); l r l. Peter Miller;E-Mail:;pmiller@opensource.org.au /\e/\e*;WWW:;http://miller.emu.id.au/pmiller/ .TE .lf 88 lib/en/man1/cooktime.1