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-DDformat. - Combine with other flags like
--max-depth,--sort, or--countfor more detailed views: - Works with
--format mdto export modification-time filtered Markdown trees.