Skip to content

leonidasmich/file-organizer-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Files Organizer

A simple Rust CLI tool that automatically sorts files in a directory into three categorized subfolders.

What it does

Given a target directory, it creates three subfolders and moves files into them based on extension:

Folder Extensions
media jpg, jpeg, png, gif, bmp, webp, mp4, mkv, avi, mov
files pdf, doc, docx, txt, rtf, xls, xlsx, ppt, pptx, csv
misc everything else

Only top-level files are processed, subdirectories are left untouched.

Usage

# Run directly with cargo
cargo run -- <path_to_directory>

# Example
cargo run -- C:\Users\Name\Desktop

Or build a release binary first:

cargo build --release
./target/release/rust-organizer <path_to_directory>

About

A simple Rust CLI tool that automatically sorts files by extension to clean up messy directories.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages