Creation Time Filters¶
Info
show-file-tree supports filtering by file creation time using the following flags:
--ctime-after <YYYY-MM-DD>
— Include only files created after the specified date.--ctime-before <YYYY-MM-DD>
— Include only files created before the specified date.
These filters are useful for auditing recent changes or generating snapshots of files created within a specific period.
Usage¶
Usage
Example¶
Example
Tips¶
Tip
- Dates must be in
YYYY-MM-DD
format. - Combine with other flags like
--max-depth
or--sort
for precise views: - Works with
--format md
to export time-filtered Markdown trees.