---
name: "plan9-touch"
section: "1"
platform: "linux"
package: "9base"
version: "1:6-5"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/plan9-touch"
---

# plan9-touch(1)

set modification date of a file

## NAME

touch - set modification date of a file

## SYNOPSIS

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

## DESCRIPTION

*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**

## SEE ALSO

[*ls*(1)](/ls/1.md), [*stat*(3)](/stat/3.md), [*chmod*(1)](/chmod/1.md)

## BUGS

*Touch* will not touch directories.
