[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
Re: Show directory time as the latest time of the file in the directory (including subdirs)
Wed, 29 Jan 2020 20:13:35 +0000
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
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?