On Mon, 1 Nov 2004, Laurent Charpentier wrote:

>>   touch --date "$(date --date '1 hour ago')" /tmp/foo
>In fact I want the date '1 hour' younger than its current timestamp
>(not 1 hour ago from now).

It's getting messy, but I think this works:
$ touch -d "$(date -d "$(date -r foo) 1 hour ago")" foo


Cheers,
Phil


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

Reply via email to