9base

revived minimalist port of Plan 9 userland to Unix
git clone git://git.suckless.org/9base
Log | Files | Refs | README | LICENSE

touch.1 (460B)


      1 .TH TOUCH 1
      2 .SH NAME
      3 touch \- set modification date of a file
      4 .SH SYNOPSIS
      5 .B touch
      6 [
      7 .B -c
      8 ]
      9 [
     10 .B -t
     11 .I time
     12 ]
     13 .I file ...
     14 .SH DESCRIPTION
     15 .I Touch
     16 attempts to set the modification time of the
     17 .I files
     18 to 
     19 .I time
     20 (by default, the current time).
     21 If a
     22 .I file
     23 does not exist,
     24 it will be created unless option
     25 .B -c
     26 is present.
     27 .SH SOURCE
     28 .B \*9/src/cmd/touch.c
     29 .SH SEE ALSO
     30 .IR ls (1),
     31 .IR stat (3),
     32 .IR chmod (1)
     33 .SH BUGS
     34 .I Touch
     35 will not touch directories.