Overview
Thedirs command displays all directories currently in the watch list. These are the directories that will be indexed when you run know index.
Syntax
Parameters
This command takes no parameters or options.Output
Displays a formatted table showing:- Directory number (for reference)
- Full absolute path to each watched directory
Examples
List watched directories
No directories added
Use Cases
- Verify which directories are being indexed
- Check if a directory has been successfully added
- Review the watch list before running
know index - Identify directories to remove with
know remove
Storage Location
Watched directories are stored in~/.know_dirs, with one directory path per line.
See Also
know add- Add directories to watch listknow remove- Remove directories from watch listknow index- Index all watched directories