aboutsummaryrefslogtreecommitdiffstats
path: root/archive.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 /archive.sh
downloadFinalStore-9845988e5e3cc1bec0ae98476f04b46dabc94f5a.tar.gz
FinalStore-9845988e5e3cc1bec0ae98476f04b46dabc94f5a.tar.bz2
FinalStore-9845988e5e3cc1bec0ae98476f04b46dabc94f5a.zip
First commit
Diffstat (limited to 'archive.sh')
-rwxr-xr-xarchive.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/archive.sh b/archive.sh
new file mode 100755
index 0000000..7b8f8be
--- /dev/null
+++ b/archive.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Collect archived assets to a text file
+DST="/tmp/finalstore/archive"
+if [ ! -d $DST ]; then
+ mkdir -p $DST
+fi
+echo $1 >> "${DST}/$(date +'%s').txt"
+exit 0