unzip and rename

Discussion created by meriya on Feb 26, 2013
I,m looking for a script that can unzip a zipped shapefile and rename it to a new name.

Problem: The default just unzip a zipped file and don't change it's name. This restriction cause all clients have to rename thier shapefiles like my predefined name. For example If my shapefile's name is spatial.shp and I zipped it for running my model locally, my clients should change thier shape files to spatial.shp