Skip to content
/ void Public

tiny cli utility to overwrite and shred data

License

Notifications You must be signed in to change notification settings

jxdv/void

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

void

License: MIT


Written in 1 day just for fun. It's a crappy tool.

Install

$ git clone https://github.com/jxdv/void.git && cd void/
$ chmod +x install.sh
$ ./install.sh

Usage

$ void -h
usage: void [-h] [-i] [-f FILE] [-r RECURSIVE] [-p PASSES]
               [-ee EXCLUDE_EXTENSIONS [EXCLUDE_EXTENSIONS ...]] [-ow {0,1,r}]

Securely shred sensitive data to maximize your privacy.

options:
  -h, --help            show this help message and exit
  -i, --interactive     Run void in interactive mode
  -f FILE, --file FILE  Path to file which will be shredded
  -r RECURSIVE, --recursive RECURSIVE
                        Path to directory which contents of will be shredded
                        recursively
  -p PASSES, --passes PASSES
                        How many times to overwrite the file
  -ee EXCLUDE_EXTENSIONS [EXCLUDE_EXTENSIONS ...], --exclude-extensions EXCLUDE_EXTENSIONS [EXCLUDE_EXTENSIONS ...]
                        File extensions to ignore
  -ow {0,1,r}, --overwrite-pattern {0,1,r}
                        Data overwriting pattern to use

Created by: github.com/jxdv

Examples

Run interactively

$ void -i

Overwrite with random bytes

$ void -f file.txt -ow r

Overwrite file 10 times with zeroes

$ void -f file.txt -ow 0 -p 10

Recursively overwrite directory with ones

$ void -r target_dir/ -ow 1

Ignore files with .c and .o extensions

$ void -r target_dir/ -ow 1 -ee .c .o

Releases

No releases published

Packages

No packages published