rust-touch(1)

rust-touch1

Update the access and modification times of each `file` to the current time.

Usage

touch [--help] [-a] [-t] [{-d | --date}] [-m] [{-c | --no-create}] [{-h | --no-dereference}] [{-r | --reference}] [--time] [{-V | --version}] [files]

Overview

Update the access and modification times of each `FILE` to the current time.

Options

--help

Print help information.

-a

change only the access time

-t=STAMP

use [[CC]YY]MMDDhhmm[.ss] instead of the current time

-d, --date=STRING

parse argument and use it instead of current time

-m

change only the modification time

-c, --no-create

do not create any files

-h, --no-dereference

affect each symbolic link instead of any referenced file (only for systems that can change the timestamps of a symlink)

-r, --reference=FILE

use this file's times instead of the current time

--time=WORD

change only the specified time: "access", "atime", or "use" are equivalent to -a; "modify" or "mtime" are equivalent to -m

[possible values: atime, mtime]

-V, --version

Print version

[files]

Version

v0.0.30

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

-V since Debian 13 (Trixie).

-f until Debian 12 (Bookworm).

From rust-coreutils 0.0.30-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.