


TOUCH(1L)                                               TOUCH(1L)


NNAAMMEE
       touch - change file timestamps

SSYYNNOOPPSSIISS
       ttoouucchh     [-acm]     [-r    reference-file]    [-t    MMD-
       Dhhmm[[CC]YY][.ss]]               [-d                time]
       [--time={atime,access,use,mtime,modify}]     [--date=time]
       [--file=reference-file] [--no-create] file...

DDEESSCCRRIIPPTTIIOONN
       This manual page  documents  the  GNU  version  of  ttoouucchh.
       ttoouucchh  changes  the  access and modification times of each
       given file to the current time.  Files that do  not  exist
       are  created empty.  If the first file name given would be
       a valid argument to the _-_t  option  and  no  timestamp  is
       given  with  any  of  the _-_d, _-_r, or _-_t options and the _-_-
       argument is not given, that argument is interpreted as the
       time for the other files instead of as a filename.

   OOPPTTIIOONNSS
       _-_a_, _-_-_t_i_m_e_=_a_t_i_m_e_, _-_-_t_i_m_e_=_a_c_c_e_s_s_, _-_-_t_i_m_e_=_u_s_e
              Change the access time only.

       _-_c_, _-_-_n_o_-_c_r_e_a_t_e
              Do not create files that do not exist.

       _-_d_, _-_-_d_a_t_e _t_i_m_e
              Use  _t_i_m_e  (which can be in various common formats)
              instead of the current time.  It can contain  month
              names, timezones, `am' and `pm', etc.

       _-_m_, _-_-_t_i_m_e_=_m_t_i_m_e_, _-_-_t_i_m_e_=_m_o_d_i_f_y
              Change the modification time only.

       _-_r_, _-_-_f_i_l_e _r_e_f_e_r_e_n_c_e_-_f_i_l_e
              Use the times of _r_e_f_e_r_e_n_c_e_-_f_i_l_e instead of the cur-
              rent time.

       _-_t _M_M_D_D_h_h_m_m_[_[_C_C_]_Y_Y_]_[_._s_s_]
              Use the argument  (months,  days,  hours,  minutes,
              optional   century  and  years,  optional  seconds)
              instead of the current time.

       The long-named options can be introduced with `+' as  well
       as  `--', for compatibility with previous releases.  Even-
       tually support for `+' will  be  removed,  because  it  is
       incompatible with the POSIX.2 standard.










                                                                1


