Skip to content

CodeMan62/fo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File Organizer CLI

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.

Features

  • Organize files into categorized folders.
  • Supports custom configurations via a JSON file.
  • Dry-run mode to preview changes without applying them.

Usage

  1. Build the tool:
cargo build --release
  1. Run the tool:
    ./fo --path <directory> --dry-run --config <config.json>
  1. Default configuration categorizes files into "Images," "Videos," etc. Customize config.json to modify this.

Example

./fo --path ./Downloads --dry-run

To-Do List

  • 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.

About

A simple file organizer written in rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages