Filtering and Selection
Excluding paths
The top-level command accepts comma-separated exclusion patterns:
killpy --path ~ --exclude "archive,backups,legacy"
Those exclusions are applied by substring matching against discovered paths.
Filtering by age
The list and delete commands support --older-than:
killpy list --older-than 90
killpy delete --older-than 180 --dry-run
This filter is based on the recorded last-modified timestamp (st_mtime) stored in each Environment object.
Path filtering in the TUI
Press / in the TUI to filter visible rows by path. The filter is a
case-insensitive substring match and updates the environment table live as you
type.
Examples:
django
projects/api
Any row whose path contains the typed text is kept; an empty query shows all rows.
Multi-select workflow
- Press
tto enable multi-select mode. - Press
Spaceto toggle individual rows. - Press
ato select or deselect all visible non-deleted rows. - Press
Ctrl+dto delete the selected set.
The multi-select model operates on the currently visible rows, so active filtering can help narrow large scans before deletion.