home *** CD-ROM | disk | FTP | other *** search
-
-
-
- TOUCH(1L) MISC. REFERENCE MANUAL PAGES TOUCH(1L)
-
-
-
- NAME
- touch - change file timestamps
-
- SYNOPSIS
- touch [-acfm] [-r reference-file] [-t MMDDhhmm[[CC]YY][.ss]]
- [-d time] [--time={atime,access,use,mtime,modify}]
- [--date=time] [--file=reference-file] [--no-create] file...
-
- DESCRIPTION
- This manual page documents the GNU version of touch. touch
- 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 argu-
- ment 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, touch can change the timestamps for files that
- the user running it does not own but has write permission
- for. Otherwise, the user must own the files.
-
- OPTIONS
- -_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 touch.
-
- -_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 current
- 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. Eventually
- support for `+' will be removed, because it is incompatible
-
-
-
- Sun Release 4.1 Last change: 1
-
-
-
-
-
-
- TOUCH(1L) MISC. REFERENCE MANUAL PAGES TOUCH(1L)
-
-
-
- with the POSIX.2 standard.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sun Release 4.1 Last change: 2
-
-
-
-