cargo build --release
./target/release/fileforge ~/Downloads --dry-run # print the plan, move nothing
./target/release/fileforge ~/Downloads # do itOr install it on your PATH:
cargo install --path .
fileforge ~/Downloads --dry-runReads the directory, groups files by extension, and moves each into a subfolder named after that extension — .png becomes png/. --dry-run prints the plan and exits without touching anything.
Destination collisions are checked before the rename, because rename(2) would otherwise replace an existing file without a word.
cargo test
cargo fmt --checkNested subdirectories are ignored (#5), and the collision check and the rename are separate calls, leaving a window between them (#6).
Humans and automated agents are both welcome. There is no CLA — every commit carries a DCO sign-off (git commit -s).
Start with a good first issue, or read CONTRIBUTING.md.
GPL-2.0-or-later — see LICENSE. Copyright (C) 2026 Marcus Beauregard.
