[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#49428: RFE: for --time have option to only include contents, not dir
From: |
L A Walsh |
Subject: |
bug#49428: RFE: for --time have option to only include contents, not dir itself. |
Date: |
Mon, 05 Jul 2021 22:18:30 -0700 |
User-agent: |
Thunderbird 2.0.0.24 (Windows/20100228) |
I did a re-install-in-place on windows that reset the
dirtimes on all the dirs to the date I did the re-inst.
As a partial recovery, I want to be able to reset the date
to the time of the last modified file in the dir.
I thought to use:
du -s --time DIR
but it's not just showing (from manpage):
--time show time of the last modification of any file in the
directory,
or any of its subdirectories
instead it is showing the above & the time on the dir itself.
Some people may want to include the dir time, but that's usually
obvious by the time on the directory.
Nevertheless, perhaps a "--contents" flag to not include
the size of the directory-inode itself might be useful?
Sadly --separate-dirs doesn't really separate out all
the dir-sizes either, but only subdirs.
*sigh*
tnx!
- bug#49428: RFE: for --time have option to only include contents, not dir itself.,
L A Walsh <=