Hi, thanks for this script. I'm trying to apply it in my environment, which is Red Hat, but I'm getting the following error message:
fin: missing argument to '-exec'
I had to remove the #!/bin/sh for some reason, it was coming up as a bad interpreter. Unfortunately, I am a total novice on Linux, and I didn't set this environment up, so I don't know if there are some restrictions on what scripting language I can use or anything.
Can anyone offer any assistance?