scrub-files(1)
β¨ scrub-files(1) β¨
okay bestie so this is scrub-files, a lil tool from GNU Telephony that yeets your files into the void so hard nobody can dig them back out π fr fr, she's giving forensic-analysis-proof energy.
πΈ NAME πΈ
scrub-files β securely erase files by filling with random data first. periodt, that's the whole vibe π«Ά
π¦ SYNOPSIS π¦
scrub [options] paths...
π DESCRIPTION π
so the way that this works is: this command is used to securely erase files. she does it by filling the file with random data in pre-sized chunks π (yes, chunks, she's organized like that). and if one pass isn't enough for you, multiple passes of random data may also be used, because why be thorough when you can be extra thorough π.
the pre-sized chunks? iconic behaviour honestly. they're used to remove information about the exact original file size β so nobody can peek at the leftovers and go "hmm this was 4,271 bytes, suspicious" π.
other options include:
- random renaming of the original file before deletion π·οΈ
- the use of truncation to break down meta-data on what blocks in the file system were originally associated with a securely deleted file π
this is specifically intended to make it harder to perform forensic analysis on securely erased files. like, no cap, that's the entire point. main character energy: delete, but make it unrecoverable β¨
π OPTIONS π
--blocksize sizeβ sets the default block size (in 1 k increments, iykyk) that scrub-files uses when writing random data. this affects both the final file length β which will be aligned to the specified size β and the way the--truncateoption decomposes files. the default is1k. π--followβ dereference and follow symlinks, erasing the target file. lowkey important if you're pointing at a link and expecting the link to vanish instead π--passes=countβ the number of passes used when writing random data. the default is 1 pass. crank it up if you're feeling spicy π₯--recursiveβ if the argument is a directory, recursively scan the directory and any subdirectory contents as arguments. she'll go down the whole tree, no crumbs left π--renameβ rename the file randomly before deletion, to clear persistent inode data π·οΈ--truncateβ decompose the file through truncation to break down file system page maps π§--verboseβ display each file being processed to the console. for the girlies who need to see the progress π’--helpβ outputs help screen for the user π
β AUTHOR β
scrub-files was written by David Sugar <dyfet@gnutelephony.org>. king behaviour, we love to see it π
π REPORTING BUGS π
found a bug? not me finding a bug π report bugs to bug-commoncpp@gnu.org or bugs@gnutelephony.org. they wanna hear from you, fr fr π«Ά
π₯ COPYRIGHT π₯
Copyright Β© 2010-2014 David Sugar, Tycho Softworks.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
bestie. read that again. NO WARRANTY. none. not even the fitness-for-a-particular-purpose one. she's free, she's fabulous, and she is absolutely not liable π
and that's the whole page, gorgeous β¨ this one ships with GNU uCommon, dated January 2010 β old enough to be vintage, iconic enough to still be scrubbing ππ byeeeee πΈ
π¦ where this page comes from
- debian bookworm: ucommon-utils 7.0.1-0.1 Β· LGPL-3.0-or-later
- debian trixie: ucommon-utils 7.0.1-0.4+b1 Β· LGPL-3.0-or-later
- opensuse-leap 16.0: ucommon 7.0.1-bp160.1.14 Β· LGPL-3.0-or-later
- opensuse-leap 16.0: ucommon 7.0.1-bp160.1.14 Β· LGPL-3.0-or-later
- opensuse-leap 16.0: ucommon 7.0.1-bp160.1.14 Β· LGPL-3.0-or-later
- opensuse-leap 16.0: ucommon 7.0.1-bp160.1.14 Β· LGPL-3.0-or-later
- ubuntu noble: ucommon-utils 7.0.1-0.2ubuntu4 Β· LGPL-3.0-or-later
- ubuntu questing: ucommon-utils 7.0.1-0.4
- ubuntu resolute: ucommon-utils 7.0.1-1 Β· LGPL-3.0-or-later
- ubuntu stonking: ucommon-utils 7.0.1-1 Β· LGPL-3.0-or-later
- Copyright (C) 2010-2014 David Sugar <dyfet@gnutelephony.org>
- Copyright (C) 2015-2020 Cherokees of Idaho
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms