settime(ADM)
settime --
change the access and modification dates of files
Syntax
settime
[ mmddhhmm [ yy ] ] [
-f fname ] name ...
Description
The settime command sets the access and modification dates for one
or more files.
The dates are set to the specified date,
or to the access and modification dates of the file specified via
-f.
Only one of these methods must be used
to specify the new date(s).
The first mm is the month number;
dd is the day number in the month;
hh is the hour number (24 hour system);
the second mm is the minute number;
yy is the last two digits of the year
and is optional.
For example:
settime 1008004592 ralph pete
sets the access and modification dates of files
ralph and pete
to October 8, 12:45 AM, 1992.
Another example:
settime -f ralph john
This sets the access and modification dates of the file
john to those of the file ralph.
Limitations
Use of
touch(C)
in place of settime is encouraged.
See also
touch(C)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003