[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17937: Getting gnu touch and gnu date to play nicely
From: |
address@hidden |
Subject: |
bug#17937: Getting gnu touch and gnu date to play nicely |
Date: |
Fri, 04 Jul 2014 06:18:35 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux i686 on x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
Most of the time I love Linux CLI, but rare occasions like this s*** makes me
want to throw my computer through the wall!
From the touch manpage.
-d, --date=STRING
parse STRING and use it instead of current time
~$ touch -d="now" file
touch: invalid date format ‘=now’
~$ touch -d="$(date)" file
touch: invalid date format ‘=Fri Jul 4 06:05:22 EDT 2014’
~$ touch -d="$(date -R)" file
touch: invalid date format ‘=Fri, 04 Jul 2014 06:05:30 -0400’
~$ touch -d="$(date -u)" file
touch: invalid date format ‘=Fri Jul 4 10:05:33 UTC 2014’
Is it possible that touch could get an update to support the common output
provided by the gnu version of `date`?
- bug#17937: Getting gnu touch and gnu date to play nicely,
address@hidden <=