linux programming delete files with auto close messagerm /media/CAMCARD/DCIM/100NIKON/*.JPG; sync; sleep 1 | zenity --title CleanCAMCARD --progress --auto-close view message zenity --info --text "blah"