package
cli for irreversible file deletion from any operating system
npm install skrub-cliGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Irreversible file deletion on every operating system
* Will only work securely on file systems that overwrite blocks in place *
Works on OS X, Linux, and Windows
In contrast to rm, which leaves file contents unallocated in memory, skrub first floods the file with garbage data and then removes it forever. Read the FAQ for information on how secure this method is.
Looking for the npm module instead?
npm install --global skrub-cliIn it's basic form, skrub replaces rm. See how to alias over rm here
The API is similar as well:
skrub * == rm *skrub * == rm -rf *skrub index.js == rm index.js$ skrub --help
Usage
$ skrub <path|glob> [...]
Options
-d, --dry-run List what would be skrubbed instead of skrubbing
-i, --iterations Write over the file multiple times (defaults to one)
Examples
$ skrub unicorn.png rainbow.png
$ skrub ../* '!../thatSuperImportantThing.txt'
$ skrub ../beCarefulHere --dry-run
$ skrub extraSkrubbed.txt --iterations 36You can use glob patterns and multiple path arguments to compound and negate matches.
If you want to replace rm with skrub, place this in your ~/.bashrc, ~/.zshrc, etc.
alias rm=skrubMIT © Dawson Botsford
Estimated unpacked size across 41 packages.
3.9 MB
Includes dependencies.
3 direct · 2 outdated