diff options
Diffstat (limited to 'archive.sh')
-rwxr-xr-x | archive.sh | 8 |
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 |