Created
March 11, 2017 04:27
-
-
Save obatiuk/8a296be5eee645016c78e493824bfbb4 to your computer and use it in GitHub Desktop.
folder shred example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if dialog=`zenity --window-icon=warning --question --title="Secure Delete" --no-wrap --text="Are you sure you want to securely delete:\n\n $1\n\nand any other files and folders selected? File data will be overwritten and cannot be recovered."` | |
then /usr/bin/srm -fllrv "$@"| zenity --progress --pulsate --text="File deletion in progress..." --title="Secure Delete" --auto-close | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment