

            touch (1) --- set file date/time modification fields     08/21/84


          | _U_s_a_g_e

          |      touch [-d <date>] [-t <time>] {<pathname>}


          | _D_e_s_c_r_i_p_t_i_o_n

          |      Every file system object has a field indicating the date and
          |      time  (to within 4 seconds) it was last modified.  This com-
          |      mand will set the date/time modified field  of  file  system
          |      objects.

          |      The  "-d" option may be used to specify a date as recognized
          |      by the 'parsdt' routine; if no date is  specified  then  the
          |      current  date  is  used.   The  "-t"  option  may be used to
          |      specify a time as recognized by the 'parstm' routine; if  no
          |      time is specified then the current time is used.

          |      The  remaining  command line arguments are taken as names of
          |      files for which to  set  the  modification  time.   If  "-n"
          |      appears  in place of a pathname, pathnames are read from the
          |      standard input.  For more information on  this  syntax,  see
          |      the entry for 'cat' (1).


          | _E_x_a_m_p_l_e_s

          |      lf -c | touch -n
          |      touch -t 1124 foo.r bar.r


          | _M_e_s_s_a_g_e_s

          |      "Usage:  touch ..."  for invalid arguments.
          |      "invalid format in date argument" or "invalid format in time
          |      argument" for improper arguments.
          |      "<pathname>:   can't  "touch"" for protected or non-existant
          |      files.


          | _S_e_e _A_l_s_o

          |      cat (1), lf (1), gfdata (2), parsdt (2), parstm (2),  sfdata
          |      (2)














            touch (1)                     - 1 -                     touch (1)


