Skip to main content

Commands

Organize

Organize files in a directory.

foldr <path>

Preview

Show planned changes without moving files.

foldr <path> --preview

Recursive

Include subdirectories.

foldr <path> --recursive

Limit recursion depth:

foldr <path> --recursive --depth 2

Ignore Patterns

Ignore files for a single run.

foldr <path> --ignore "*.log" "tmp/"

Disable ignore rules:

foldr <path> --no-ignore

Show ignored files:

foldr <path> --show-ignored

Configuration

Use a custom configuration file.

foldr <path> --config myconfig.toml

Output

Verbose output:

foldr <path> --verbose

Quiet output:

foldr <path> --quiet

Watch

Start watch mode.

foldr watch <path>

Recursive watch:

foldr watch <path> --recursive

Preview mode:

foldr watch <path> --preview

List active watchers:

foldr watches

Stop a watcher:

foldr unwatch <path>

Interactive watcher selection:

foldr unwatch

Undo

Undo the most recent operation.

foldr undo

Undo a specific operation.

foldr undo --id a1b2c3

Preview an undo operation.

foldr undo --preview

History

Show recent operations.

foldr history

Show all operations.

foldr history --all

Duplicate Removal

Preview duplicate removal.

foldr <path> --dedup keep-newest --preview

Execute duplicate removal.

foldr <path> --dedup keep-newest

Strategies:

keep-newest
keep-oldest
keep-largest

Config

Show configuration locations.

foldr config

Edit configuration.

foldr config --edit

Edit ignore rules.

foldr config --edit --ignore-file

Continue Learning

Common Tasks

Learn More