Skip to content

A application written in Rust to scan a directory provided as a command line argument for corrupted or empty files.

License

Notifications You must be signed in to change notification settings

linuxfandudeguy/rust-file-scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A application written in Rust to scan a directory provided as a command line argument for corrupted or empty files.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages