Skip to content

An implementation of shred command in rust

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

JuanJMarques/shred-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shred-rust

An implementation of shred command in rust.

Build Status MIT/Apache LoC

This is a version of shred command implemented in rust.

Shred

Overwrite a file to hide its contents, and optionally delete it

Build

git clone https://github.com/JuanJMarques/shred-rust.git
cd shred-rust
cargo build --release

Usage

shred 1.0.0

USAGE:
    shred.exe [FLAGS] [OPTIONS] <FILES>...

FLAGS:
    -h, --help         Prints help information
    -r, --recursive    Recursively deletes the files in directories
    -u, --remove       Truncate and remove file after overwriting.
    -V, --version      Prints version information
    -v, --verbose      Show verbose information about shredding progress.
    -z, --zero         Add a final overwrite with zeros to hide shredding.

OPTIONS:
    -s, --size <size>           Shred this many bytes (suffixes like K, M, G accepted).
    -t, --threads <threads>     Number of threads to execute in parallel [default: 1]
    -n, --iterations <times>    Overwrite N times. [default: 3]

ARGS:
    <FILES>...    Sets the files to to shred

Process finished with exit code 0

Contribution

Contribution is highly welcome! If you'd like another feature, just create an issue. You can also help out if you want to; just pick a "help wanted" issue. If you need any help, feel free to ask!

All contributions are assumed to be dual-licensed under MIT/Apache-2.

License

shred is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT.

About

An implementation of shred command in rust

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages