Coder Social home page Coder Social logo

linuxfandudeguy / rust-file-scanner Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 47 KB

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

License: MIT License

Rust 100.00%
colored file-scan file-scanner files filesystem fs rust rust-lang walkdir

rust-file-scanner's Introduction

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

rust-file-scanner's People

Contributors

linuxfandudeguy avatar

Stargazers

 avatar Clayton Kehoe avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.