Skip to main content
5 events
when toggle format what by license comment
Oct 17, 2022 at 8:45 vote accept Zoltan King
Oct 17, 2022 at 8:44 comment added Edgar Magallon @ZoltanKing I've updated the answer. With touch you should add a . before the seconds.
Oct 17, 2022 at 8:43 history edited Edgar Magallon CC BY-SA 4.0
added 1 character in body
Oct 17, 2022 at 8:37 comment added Zoltan King Thank you. I think the ss in [[CC]YY]MMDDhhmm[.ss] is different from what the date command's %S outputs because I get this error when I pipe the date ouput into touch: touch: invalid date format ‘20220901123513’. I'm wondering if touch uses the seconds since the epoch which is %s in date. That works. I'm just not sure what they mean in [.ss]
Oct 17, 2022 at 8:24 history answered Edgar Magallon CC BY-SA 4.0