home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / utility / misc / fileutil.lha / fileutils-3.3 / cat / touch.1 < prev   
Encoding:
Text File  |  1992-08-28  |  2.6 KB  |  133 lines

  1.  
  2.  
  3.  
  4. TOUCH(1L)         MISC. REFERENCE MANUAL PAGES          TOUCH(1L)
  5.  
  6.  
  7.  
  8. NAME
  9.      touch - change file timestamps
  10.  
  11. SYNOPSIS
  12.      touch [-acfm] [-r reference-file] [-t MMDDhhmm[[CC]YY][.ss]]
  13.      [-d      time]      [--time={atime,access,use,mtime,modify}]
  14.      [--date=time] [--file=reference-file] [--no-create] file...
  15.  
  16. DESCRIPTION
  17.      This manual page documents the GNU version of touch.   touch
  18.      changes the access and modification times of each given file
  19.      to the current time.  Files that do not  exist  are  created
  20.      empty.   If the first file name given would be a valid argu-
  21.      ment to the -_t option and no timestamp is given with any  of
  22.      the  -_d, -_r, or -_t options and the -- argument is not given,
  23.      that argument is interpreted as the time for the other files
  24.      instead of as a filename.
  25.  
  26.      If changing both the access and modification  times  to  the
  27.      current time, touch can change the timestamps for files that
  28.      the user running it does not own but  has  write  permission
  29.      for.  Otherwise, the user must own the files.
  30.  
  31.   OPTIONS
  32.      -_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
  33.           Change the access time only.
  34.  
  35.      -_c, --_n_o-_c_r_e_a_t_e
  36.           Do not create files that do not exist.
  37.  
  38.      -_d, --_d_a_t_e _t_i_m_e
  39.           Use _t_i_m_e (which  can  be  in  various  common  formats)
  40.           instead  of  the  current  time.   It can contain month
  41.           names, timezones, `am' and `pm', etc.
  42.  
  43.      -_f   Ignored; for compatibility with BSD versions of touch.
  44.  
  45.      -_m, --_t_i_m_e=_m_t_i_m_e, --_t_i_m_e=_m_o_d_i_f_y
  46.           Change the modification time only.
  47.  
  48.      -_r, --_f_i_l_e _r_e_f_e_r_e_n_c_e-_f_i_l_e
  49.           Use the times of _r_e_f_e_r_e_n_c_e-_f_i_l_e instead of the  current
  50.           time.
  51.  
  52.      -_t _M_M_D_D_h_h_m_m[[_C_C]_Y_Y][._s_s]
  53.           Use  the  argument  (months,  days,   hours,   minutes,
  54.           optional  century  and years, optional seconds) instead
  55.           of the current time.
  56.  
  57.      The long-named options can be introduced with `+' as well as
  58.      `--',  for compatibility with previous releases.  Eventually
  59.      support for `+' will be removed, because it is  incompatible
  60.  
  61.  
  62.  
  63. Sun Release 4.1           Last change:                          1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. TOUCH(1L)         MISC. REFERENCE MANUAL PAGES          TOUCH(1L)
  71.  
  72.  
  73.  
  74.      with the POSIX.2 standard.
  75.  
  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. Sun Release 4.1           Last change:                          2
  130.  
  131.  
  132.  
  133.