Permanently Remove Files with Zenity (Thunar custom action)
Have previously used xdialog for this, but it was time to update to zenity
zenity –question –width 640 –height 240 –title=”Permanently Remove Files” –text=”Are you sure you want to remove these files? \n\n %N”; if [ $? = 0 ] ; then rm -r %F ; else exit; fi
You do get a sanity check before you decide to delete, and of course, DON’T run this on / ![]()