Skip to content

Latest commit

 

History

History
49 lines (28 loc) · 1.24 KB

README.md

File metadata and controls

49 lines (28 loc) · 1.24 KB

rust-file-scanner

Warning: the file will randomly duplicate itself completely empty each time you use it. Each time you use it, please delete those files.

This is my first rust project yay :D

rust

This was made using Cargo and Rust.

This rust application scans for corrupted/empty files in a directory provided in command line arguments.

Here's a screenshot example:

Screenshot 2024-08-12 9 46 38 PM

The project was still in development when the screenshot was taken.

If it finds files it will return the files with their file path and if not it won't do it, and it also displays a counter for the amount of files scanned.

The Cargo.toml file has the dependencies needed:

[dependencies]
walkdir = "2.3.2"
colored = "2.0.0"

Once you have downloaded necessary files/packages you can run:

cargo build

Then to scan a directory you can run:

cargo run ./

anyone who's about to complain about I didn't give installation instructions for cargo too bad