Modification Time Filters¶
Info
show-file-tree supports filtering by file modification time using the following flags:
--mtime-after <YYYY-MM-DD>
— Include only files modified after the specified date.--mtime-before <YYYY-MM-DD>
— Include only files modified before the specified date.
These filters are useful for tracking recent changes or documenting updates within a specific timeframe.
Usage¶
Usage
Example¶
Example
Tips¶
Tip
- Dates must be in
YYYY-MM-DD
format. - Combine with other flags like
--max-depth
,--sort
, or--count
for more detailed views: - Works with
--format md
to export modification-time filtered Markdown trees.