8 lines
210 B
Bash
Executable file
8 lines
210 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
ARCHIVE_DIR=${ARCHIVE_DIR:-"$1"}
|
|
ARCHIVE_DIR=${ARCHIVE_DIR:-"/archive"}
|
|
|
|
b2v4 sync --skip-newer --exclude-regex '.*' --include-regex '.*\.tar\.xz' "$ARCHIVE_DIR" "b2://${BUCKET}" --dry-run
|
|
|
|
|