[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Show directory time as the latest time of the file in the directory
L A Walsh
Re: Show directory time as the latest time of the file in the directory (including subdirs)
Wed, 29 Jan 2020 16:14:48 -0800
On 2020/01/29 01:58, Peng Yu wrote:
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
or any of its subdirectories
show time as WORD instead of modification time: atime,
use, ctime or status