version 1.32, 2014/06/03 15:56:53 |
version 1.33, 2015/09/12 16:25:32 |
|
|
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm touch |
.Nm touch |
.Op Fl acm |
.Op Fl acm |
|
.Op Fl d |
.Sm off |
.Sm off |
.Op Fl "d " Ar ccyy No - Ar mm No - Ar dd Li T Ar HH : Ar MM : Ar SS Oo \&. Ar frac Oc Op Li Z |
.Ar ccyy No - Ar mm No - Ar dd Cm T Ar HH : MM : SS Oo \&. Ar frac Oc Op Cm Z |
.Sm on |
.Sm on |
.Op Fl r Ar file |
.Op Fl r Ar file |
.Op Fl t Oo Ns Oo Ar cc Oc Ns Ar yy Oc Ns Ar mmddHHMM Ns Op \&. Ns Ar SS |
.Op Fl t Oo Ns Oo Ar cc Oc Ns Ar yy Oc Ns Ar mmddHHMM Ns Op \&. Ns Ar SS |
|
|
.Nm |
.Nm |
utility does not treat this as an error. |
utility does not treat this as an error. |
No error messages are displayed and the exit value is not affected. |
No error messages are displayed and the exit value is not affected. |
|
.It Xo Fl d |
.Sm off |
.Sm off |
.It Fl "d " Ar ccyy No - Ar mm No - Ar dd Li T Ar HH : Ar MM : Ar SS Oo \&. Ar frac Oc Op Li Z |
.Ar ccyy No - Ar mm No - Ar dd Cm T Ar HH : MM : SS Oo \&. Ar frac Oc Op Cm Z |
.Sm on |
.Sm on |
|
.Xc |
Change the access and modification times to the specified time, |
Change the access and modification times to the specified time, |
in a format compliant with the |
in a format compliant with the |
.St -iso8601 |
.St -iso8601 |
|
|
.It Ar dd |
.It Ar dd |
Day: |
Day: |
a number from 1 to 31. |
a number from 1 to 31. |
.It Li T |
.It Cm T |
Either the capital letter |
Either the capital letter |
.Sq T |
.Sq T |
or a single space. |
or a single space. |
|
|
The decimal fraction of the second, |
The decimal fraction of the second, |
either a period or comma, |
either a period or comma, |
followed by one or more decimal digits. |
followed by one or more decimal digits. |
.It Li Z |
.It Cm Z |
The timezone specifier: a capital letter |
The timezone specifier: a capital letter |
.Sq Z |
.Sq Z |
indicating that the time is in UTC. |
indicating that the time is in UTC. |