aboutsummaryrefslogtreecommitdiffstats
path: root/restore.sh
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mekanisti.fi>2009-12-28 22:02:04 +0200
committerFilipp Lepalaan <filipp@mekanisti.fi>2009-12-28 22:02:04 +0200
commit9845988e5e3cc1bec0ae98476f04b46dabc94f5a (patch)
tree7dde2a03a6059da790d5832f5730f229042ef134 /restore.sh
downloadFinalStore-9845988e5e3cc1bec0ae98476f04b46dabc94f5a.tar.gz
FinalStore-9845988e5e3cc1bec0ae98476f04b46dabc94f5a.tar.bz2
FinalStore-9845988e5e3cc1bec0ae98476f04b46dabc94f5a.zip
First commit
Diffstat (limited to 'restore.sh')
-rwxr-xr-xrestore.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/restore.sh b/restore.sh
new file mode 100755
index 0000000..1443eed
--- /dev/null
+++ b/restore.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Collect restored assets to a text file
+DST="/tmp/finalstore/restore"
+if [ ! -d $DST ]; then
+ mkdir -p $DST
+fi
+echo $1 >> "${DST}/$(date +'%s').txt"
+exit 0