Thanks for the input. I am still fairly new to regular expressions. 95% of the files were .tif or .eps. All of the other files were unaffected as far as I could tell. I didn't care too much because all it would have done was zip the file, but I will modify the script per your changes. Thanks again!