Watch Mode
Watch Mode keeps a directory organized automatically.
Watch Mode Workflow
What Happens
When watch mode starts:
foldr watch ~/Downloads
Foldr:
- Organizes existing files.
- Starts monitoring the directory.
- Organizes new files automatically.
Existing Files
The initial organization behaves exactly like a normal Foldr run.
New Files
Any file copied, downloaded, or moved into the watched directory is processed automatically.
Preview Mode
Observe behavior without moving files.
foldr watch ~/Downloads --preview
Re-Organization
If a file is moved back into the root directory, Foldr treats it as a new file and organizes it again.
info
This behavior is intentional and helps keep directories consistently organized.
Logs
Watch mode writes activity and errors to log files.
Use logs when troubleshooting watcher issues.