Experimental attempt at getting organized ...
Actually this doesn't seem to work at all (except for hyperlinks)!
Experimental attempt at getting organized ...
Actually this doesn't seem to work at all (except for hyperlinks)!
#!/bin/bash | |
zenity --title="Shred Files BOX" --text="Drag file to below box" --entry --width=600 | cut -c 8- | tr -d '\r' >> /tmp/shredfiles | |
IFS=$'\n' read -d '' -r -a filess < /tmp/shredfiles | |
for ((i=0;i<${#filess[@]};i++)) | |
do | |
file=`python2 -c 'import sys, urllib; print urllib.unquote(sys.argv[1])' "${filess[$i]}"` | |
shred -uvz "$file" > /dev/null 2>&1 | |
done | |
rm /tmp/shredfiles |