summaryrefslogtreecommitdiffstats
path: root/zpu/snapshot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'zpu/snapshot.sh')
-rw-r--r--zpu/snapshot.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/zpu/snapshot.sh b/zpu/snapshot.sh
new file mode 100644
index 0000000..8fd6e33
--- /dev/null
+++ b/zpu/snapshot.sh
@@ -0,0 +1,7 @@
+export SNAPSHOT=`date +%Y-%m-%d`
+
+echo hdl$SNAPSHOT.zip docs$SNAPSHOT.zip sw$SNAPSHOT.zip
+rm -f hdl$SNAPSHOT.zip docs$SNAPSHOT.zip sw$SNAPSHOT.zip
+zip -r hdl$SNAPSHOT.zip hdl -x "*.svn*"
+zip -r docs$SNAPSHOT.zip docs -x "*.svn*"
+zip -r sw$SNAPSHOT.zip sw -x "*.svn*"
OpenPOWER on IntegriCloud