> For example, to modify a timestamp by 1 hour:
> touch -r foo -backward 3600 foo

As of coreutils-5.1.1, you can do that by using touch's --relative (-r)
and --date (-d) options together:

  $ touch k; ls -go k; touch -r k -d '-30 min' k;ls -go k
  -rw-r--r--  1 2689 Nov  2 23:39 k
  -rw-r--r--  1 2689 Nov  2 23:09 k


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to