Skip to main content

Watch Mode

Watch Mode keeps a directory organized automatically.

Watch Mode Workflow

What Happens

When watch mode starts:

foldr watch ~/Downloads

Foldr:

  1. Organizes existing files.
  2. Starts monitoring the directory.
  3. 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.


Continue Learning

Next Steps

Troubleshooting

Learn More