Linux rocks:
Code:
unzip NW_EAWtoOP_Campaigns.zip
cd Campaigns/
for ii in *; do cat $ii | sed -e 's/Name="/Name="NW Missions - /' > 1 ; mv 1 NW_${ii} ; done
cd ..
rm NW_EAWtoOP_Campaigns.zip
zip -r NW_EAWtoOP_Campaigns.zip Campaigns/
In English:
- unpack the package
- got to package's subdir
- for each file in present dir, do:
- change the line(s) with "Name="
- write to a file called "1"
- rename and overwrite (move) file called "1" to a file called "NW_" with the rest of the original filename after.
- "cd .."
- erase old zip
- make new zip file