|
From: | Peng Yu |
Subject: | Print modification time in compact form |
Date: | Mon, 15 Mar 2021 21:16:51 -0500 |
Hi, I see modification time can be printed in this format. $ stat -c '%y' file.txt 2017-07-31 17:50:54.000000000 +0100 Is there a way to directly print it as 20170731-1750? Thanks. -- Regards, Peng
[Prev in Thread] | Current Thread | [Next in Thread] |