plan9-touch(1)

plan9-touch1

Set modification date of a file

Usage

touch [-c] [-t time] file ...

Overview

Touch attempts to set the modification time of the files to time (by default, the current time). If a file does not exist, it will be created unless option -c is present.

Source

/src/cmd/touch.c

Releases

Unchanged in 2 releases since Debian 6.0 (Squeeze).

  1. 6.0–7

Bugs

Touch will not touch directories.

From 9base 1:6-5 in Debian 7 (Wheezy). Parsed by carta from the page's man source.