Various compilation scripts & patches for Linux programs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

14 lines
275 B

#!/bin/env bash
kdialog --yesno "Destroy selected file(s)?" --title Destroy
answer=$(echo "$?")
if [ "$answer" == 0 ]; then
while [ $# -gt 0 ]; do
shred -n 3 -u "$1"
shift
done
notify-send "File Destroy" -i dialog-ok 'Target file(s) destroyed'
else
exit
fi