file-eraser

command module
v0.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2024 License: MIT Imports: 12 Imported by: 0

README

file-eraser

This randomize files before removing.
If it failed to randomize, the file would not be removed.
Multithread.
Its randomness depends on crypto/rand.Reader in Go standard library.


Installation

go install github.com/lsejx/file-eraser@latest



Option

-h	help
-v	version
-r	recursive (for directory)
-i	interactive (confirm before erasing)
-k	keep (randomize, seek, truncate, but don't remove)



Usage

file-eraser -h
file-eraser -v
file-eraser file1
file-eraser -r file1 dir1
file-eraser -ri dir1
file-eraser -k file1

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL