|
From: | L A Walsh |
Subject: | Re: Show directory time as the latest time of the file in the directory (including subdirs) |
Date: | Wed, 29 Jan 2020 16:14:48 -0800 |
User-agent: | Thunderbird |
On 2020/01/29 01:58, Peng Yu wrote:
Hi, For directories, ls shows in the time of the directory itself. Sometimes, it is more important to show the latest time of files in the directory in addition to the directory time. Is there an easy way to show such information? Thanks.
You might check out the "du" program's "--time" option. I think it does what you want:--time show time of the last modification of any file in the directory,
or any of its subdirectories Also: --time=WORDshow time as WORD instead of modification time: atime, access,
use, ctime or status
[Prev in Thread] | Current Thread | [Next in Thread] |