6d1a6cb3ad2b61c8c417a85ead564d8bf58c3dda
Stefan Schuermans zip create script

Stefan Schuermans authored 10 years ago

1) #! /bin/bash
2) 
3) cd "$(dirname "$0")"
4) 
5) DATE="$(date "+%Y%m%d")"
6) 
Stefan Schuermans comments by ST

Stefan Schuermans authored 10 years ago

7) mkdir -p zips/stage_director_$DATE
Stefan Schuermans zip create script

Stefan Schuermans authored 10 years ago

8) 
Stefan Schuermans comments by ST

Stefan Schuermans authored 10 years ago

9) cp *.glade *.png *.py *.txt zips/stage_director_$DATE
Stefan Schuermans zip create script

Stefan Schuermans authored 10 years ago

10) 
11) cd zips
Stefan Schuermans comments by ST

Stefan Schuermans authored 10 years ago

12) zip -r stage_director_$DATE.zip stage_director_$DATE
Stefan Schuermans zip create script

Stefan Schuermans authored 10 years ago

13) 
Stefan Schuermans comments by ST

Stefan Schuermans authored 10 years ago

14) rm -rf stage_director_$DATE