A simple, configurable command-line tool to organize files in directories based on their types. It supports dry-run operations, custom configurations, and flexible file categorization.
- Organize files into categorized folders.
- Supports custom configurations via a JSON file.
- Dry-run mode to preview changes without applying them.
- Build the tool:
cargo build --release
- Run the tool:
./fo --path <directory> --dry-run --config <config.json>
- Default configuration categorizes files into "Images," "Videos," etc. Customize
config.json
to modify this.
./fo --path ./Downloads --dry-run
- Basic CLI implementation with
clap
. - Directory scanning and file categorization.
- Dry-run functionality.
- Configurable JSON support.
- Add support for symbolic links.
- Include a progress bar for large directories.
- Generate logs for each operation.
- Support multi-threading for faster file operations.
- Add tests for edge cases (e.g., empty directories).
Keep this as a growing list to enhance your project over time.