#!/bin/sh if zenity --question --title "Script" --text $"Etes-vous sûr de vouloir déchiqueter ce fichier ?"; then ( shred -n 7 -z "$1" ; echo "25" shred -n 7 -z "$1" ; echo "50" shred -n 7 -z "$1" ; echo "75" shred -n 7 -z -u "$1" ; echo "100" )| zenity --progress --auto-close --title "Script" --text "Déchiquetage en cours ..." --percentage=0 fi