I wrote this script to handle a company wide Keepass update in my company. The script checks to see if a file (with the name of the version of Keepass) exists. If it does then it proceeds with the install, if not it closes the program.
Recently I had to find a fast way of clearing space on a fileserver that was literally at bursting point, the 2TB disk had just 100MB free space remaining. I needed a way to identify the large, old files quickly so that I could then check with the file owners that they could be deleted.