facf0c92e0
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
20 lines
987 B
Plaintext
20 lines
987 B
Plaintext
#compdef shred gshred
|
|
|
|
_arguments -s -S : \
|
|
'(: * -)--help[display help information]' \
|
|
'(: * -)--version[display version information]' \
|
|
'(-f --force)'{-f,--force}'[bypass lack of write permissions]' \
|
|
'(-n --iterations)'{-n+,--iterations=}'[specify number of overwrites]:overwrites [3]' \
|
|
'--random-source=[get random bytes from specified file]:random source file:_files' \
|
|
'(-s --size)'{-s+,--size=}'[shred specified number of bytes]:bytes' \
|
|
'(--remove)-u[deallocate and remove file after overwriting]' \
|
|
'(-u)--remove=-[like -u, or specify how to remove]::how to remove [wipesync]:((
|
|
unlink\:"use standard unlink call"
|
|
wipe\:"like unlink, but obfuscate bytes in name first"
|
|
wipesync\:"like wipe, but sync each obfuscated byte to disk"
|
|
))' \
|
|
'(-v --verbose)'{-v,--verbose}'[display progress]' \
|
|
'(-x --exact)'{-x,--exact}'[do not round file sizes up to nearest block]' \
|
|
'(-z --zero)'{-z,--zero}'[add final overwrite with zeros]' \
|
|
'*: :_files'
|