mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-19 10:15:48 +02:00
(touch invocation): touch -r and -d can now
both be specified, with -r specifying the origin for -d.
This commit is contained in:
@@ -8126,6 +8126,11 @@ Change the modification time only.
|
||||
@opindex -r
|
||||
@opindex --reference
|
||||
Use the times of the reference @var{file} instead of the current time.
|
||||
If this option is combined with the @option{--date=@var{time}}
|
||||
(@option{-d @var{time}}) option, the reference @var{file}'s time is
|
||||
the origin for any relative @var{time}s given, but is otherwise ignored.
|
||||
For example, @samp{-r foo -d '-5 seconds'} specifies a time stamp
|
||||
equal to five seconds before the corresponding time stamp for @file{foo}.
|
||||
|
||||
@item -t [[CC]YY]MMDDhhmm[.ss]
|
||||
Use the argument (optional four-digit or two-digit years, months,
|
||||
|
||||
Reference in New Issue
Block a user