home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 5 / FreshFish_July-August1994.bin / bbs / gnu / fileutils-3.9-bin.lha / man / cat1 / touch.0 < prev   
Text File  |  1993-12-07  |  3KB  |  133 lines

  1.  
  2.  
  3.  
  4. TOUCH(1L)                                               TOUCH(1L)
  5.  
  6.  
  7. NNAAMMEE
  8.        touch - change file timestamps
  9.  
  10. SSYYNNOOPPSSIISS
  11.        ttoouucchh     [-acfm]    [-r    reference-file]    [-t    MMD-
  12.        Dhhmm[[CC]YY][.ss]]               [-d                time]
  13.        [--time={atime,access,use,mtime,modify}]     [--date=time]
  14.        [--file=reference-file] [--no-create] [--help] [--version]
  15.        file...
  16.  
  17. DDEESSCCRRIIPPTTIIOONN
  18.        This  manual  page  documents  the  GNU  version of ttoouucchh.
  19.        ttoouucchh changes the access and modification  times  of  each
  20.        given  file  to the current time.  Files that do not exist
  21.        are created empty.  If the first file name given would  be
  22.        a  valid  argument  to  the  _-_t option and no timestamp is
  23.        given with any of the _-_d, _-_r, or _-_t  options  and  the  _-_-
  24.        argument is not given, that argument is interpreted as the
  25.        time for the other files instead of as a filename.
  26.  
  27.        If changing both the access and modification times to  the
  28.        current  time,  ttoouucchh  can change the timestamps for files
  29.        that the user running it does not own but has  write  per-
  30.        mission for.  Otherwise, the user must own the files.
  31.  
  32.    OOPPTTIIOONNSS
  33.        _-_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
  34.               Change the access time only.
  35.  
  36.        _-_c_, _-_-_n_o_-_c_r_e_a_t_e
  37.               Do not create files that do not exist.
  38.  
  39.        _-_d_, _-_-_d_a_t_e _t_i_m_e
  40.               Use  _t_i_m_e  (which can be in various common formats)
  41.               instead of the current time.  It can contain  month
  42.               names, timezones, `am' and `pm', etc.
  43.  
  44.        _-_f     Ignored;  for  compatibility  with  BSD versions of
  45.               ttoouucchh.
  46.  
  47.        _-_m_, _-_-_t_i_m_e_=_m_t_i_m_e_, _-_-_t_i_m_e_=_m_o_d_i_f_y
  48.               Change the modification time only.
  49.  
  50.        _-_r_, _-_-_f_i_l_e _r_e_f_e_r_e_n_c_e_-_f_i_l_e
  51.               Use the times of _r_e_f_e_r_e_n_c_e_-_f_i_l_e instead of the cur-
  52.               rent time.
  53.  
  54.        _-_t _M_M_D_D_h_h_m_m_[_[_C_C_]_Y_Y_]_[_._s_s_]
  55.               Use  the  argument  (months,  days, hours, minutes,
  56.               optional  century  and  years,  optional   seconds)
  57.               instead of the current time.
  58.  
  59.        _-_-_h_e_l_p Print a usage message and exit with a non-zero sta-
  60.               tus.
  61.  
  62.  
  63.  
  64. FSF                     GNU File Utilities                      1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. TOUCH(1L)                                               TOUCH(1L)
  71.  
  72.  
  73.        _-_-_v_e_r_s_i_o_n
  74.               Print version information on  standard  error  then
  75.               exit.
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130. FSF                     GNU File Utilities                      2
  131.  
  132.  
  133.