


TOUCH(1L)                                               TOUCH(1L)


NNAAMMEE
       touch - change file timestamps

SSYYNNOOPPSSIISS
       ttoouucchh     [-acfm]    [-r    reference-file]    [-t    MMD-
       Dhhmm[[CC]YY][.ss]]               [-d                time]
       [--time={atime,access,use,mtime,modify}]     [--date=time]
       [--file=reference-file] [--no-create] [--help] [--version]
       file...

DDEESSCCRRIIPPTTIIOONN
       This  manual  page  documents  the  GNU  version of ttoouucchh.
       ttoouucchh 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.

       If changing both the access and modification times to  the
       current  time,  ttoouucchh  can change the timestamps for files
       that the user running it does not own but has  write  per-
       mission for.  Otherwise, the user must own the files.

   OOPPTTIIOONNSS
       _-_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.

       _-_f     Ignored;  for  compatibility  with  BSD versions of
              ttoouucchh.

       _-_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.

       _-_-_h_e_l_p Print  a  usage message on standard output and exit
              successfully.



FSF                     GNU File Utilities                      1





TOUCH(1L)                                               TOUCH(1L)


       _-_-_v_e_r_s_i_o_n
              Print version information on standard  output  then
              exit successfully.






















































FSF                     GNU File Utilities                      2


