Scroll to navigation

touch(1) General Commands Manual touch(1)

NAME

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

SYNOPSIS

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

DESCRIPTION

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

OPTIONS

Print help information.
change only the access time
use [[CC]YY]MMDDhhmm[.ss] instead of the current time
parse argument and use it instead of current time
change only the modification time
do not create any files
affect each symbolic link instead of any referenced file (only for systems that can change the timestamps of a symlink)
use this file's times instead of the current time
change only the specified time: "access", "atime", or "use" are equivalent to -a; "modify" or "mtime" are equivalent to -m

[possible values: atime, mtime]

Print version
[files]

VERSION

v0.0.27

touch 0.0.27