From 7430e918cb579aa0d340e12b7dfe003d7dca6746 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 16 Jan 2004 07:53:19 +0000 Subject: (touch invocation): touch -r and -d can now both be specified, with -r specifying the origin for -d. --- doc/coreutils.texi | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc') diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 416111823..aace0f88f 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -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, -- cgit v1.2.3-54-g00ecf