touch

command
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2025 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

touch changes file access and modification times.

Synopsis:

touch [-amc] [-d datetime] file...

Description:

If a file does not exist, it will be created unless -c is specified.

Options:

-a: change only the access time
-m: change only the modification time
-c: do not create any file if it does not exist
-d: use specified time instead of current time (RFC3339 format)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL