2 releases

0.1.1 Mar 25, 2024
0.1.0 Mar 25, 2024

#2143 in Command line utilities

MIT license

5KB

File Organizer

File Organizer is a command-line utility written in Rust that organizes files in a directory based on their types (extensions) into respective subdirectories.

Feature

  • Creates subdirectories based on file extensions and moves files into corresponding directories.

Installation

From crates.io

You can install the File Organizer directly from crates.io using Cargo:

cargo install fileorg

From source

Alternatively, you can build and install the application from the source code:

  1. Clone the repository:

    git clone https://github.com/Infernum1/fileorg
    
  2. Navigate to the project directory:

    cd fileorg
    
  3. Build the project using Cargo:

    cargo build --release
    

Usage

To organize files in a directory, run the following command:

If installed from crates.io:

fileorg <directory_path>

If built from source:

./target/release/fileorg <directory_path>

No runtime deps