2011-05-23 01:36:34 +00:00
|
|
|
.TH TOUCH 1 sbase\-VERSION
|
|
|
|
.SH NAME
|
2011-05-26 04:47:58 +00:00
|
|
|
touch \- set files' timestamps
|
2011-05-23 01:36:34 +00:00
|
|
|
.SH SYNOPSIS
|
|
|
|
.B touch
|
|
|
|
.RB [ \-c ]
|
|
|
|
.RB [ \-t
|
|
|
|
.IR time ]
|
|
|
|
.RI [ file ...]
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.B touch
|
2011-05-26 04:47:58 +00:00
|
|
|
sets the given files' modification time to the current time. If a file does not
|
|
|
|
exist it is created.
|
2011-05-23 01:36:34 +00:00
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
|
|
|
.B \-c
|
|
|
|
do not create files if they do not exist.
|
|
|
|
.TP
|
|
|
|
.BI \-t " time"
|
|
|
|
sets the files' modification time to
|
|
|
|
.IR time ,
|
|
|
|
given as the number of seconds since the Unix epoch.
|
2011-05-25 17:29:46 +00:00
|
|
|
.SH SEE ALSO
|
|
|
|
.IR utime (2),
|
|
|
|
.IR creat (2)
|