diff options
Diffstat (limited to 'dumps/fetch-dropbox.sh')
-rwxr-xr-x | dumps/fetch-dropbox.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dumps/fetch-dropbox.sh b/dumps/fetch-dropbox.sh new file mode 100755 index 0000000..99db29e --- /dev/null +++ b/dumps/fetch-dropbox.sh @@ -0,0 +1,3 @@ +#!/bin/bash +dbxcli ls -l "${LIGA_DROPBOX_DUMP_FOLDER}" | awk -F"ago" '{print $2}' | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//' | + xargs -I{} dbxcli get {} dumps/sync |