[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
From: |
address@hidden |
Subject: |
Re: Show directory time as the latest time of the file in the directory (including subdirs) |
Date: |
Wed, 29 Jan 2020 20:13:35 +0000 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On 2020-01-29 09:08-0600, Peng Yu wrote:
> No. -t just shows the time of the directory itself. I want a summary
> time which is the latest time of all the contents (including the ones
> in the subdirecties, subsubdirs,...) in the directory.
I'm not entirely sure I understand the question, but is that what you're
after?
find . -printf '%T+\t%p\n'
It's highly likely that I missed what you're after, could you give an
example of current ls output and what you're expecting?
--
Best regards,
Ed http://www.s5h.net/