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

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