BSD 4_3_Tahoe development
[unix-history] / usr / man / cat1 / touch.0
TOUCH(1) UNIX Programmer's Manual TOUCH(1)
N\bNA\bAM\bME\bE
touch - update date last modified of a file
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
t\bto\bou\buc\bch\bh [ -\b-c\bc ] [ -\b-f\bf ] file ...
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
_\bT_\bo_\bu_\bc_\bh attempts to set the modified date of each _\bf_\bi_\bl_\be. If a
_\bf_\bi_\bl_\be exists, this is done by reading a character from the
file and writing it back. If a _\bf_\bi_\bl_\be does not exist, an
attempt will be made to create it unless the -\b-c\bc option is
specified. The -\b-f\bf option will attempt to force the touch in
spite of read and write permissions on a _\bf_\bi_\bl_\be.
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
utimes(2)
Printed 7/9/88 April 29, 1985 1