better upload as backup script
This commit is contained in:
parent
255208d441
commit
1f4df65bf0
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
LOCAL_STORAGE_DIR="$HOME/.local/share/Steam/steamapps/common/Starbound/storage"
|
LOCAL_STORAGE_DIR="$HOME/.local/share/Steam/steamapps/common/Starbound/storage"
|
||||||
REMOTE_STORAGE_HOST_DIR="lytedev.io:~/games/sync/starbound"
|
REMOTE_STORAGE_HOST_DIR="lytedev.io:~/games/sync/starbound-$(date +%Y.%m.%d_%H.%M.%S)"
|
||||||
|
|
||||||
rsync -tr "$LOCAL_STORAGE_DIR/player" "$REMOTE_STORAGE_HOST_DIR"
|
rsync -tr "$LOCAL_STORAGE_DIR/player" "$REMOTE_STORAGE_HOST_DIR"
|
||||||
rsync -tr "$LOCAL_STORAGE_DIR/universe" "$REMOTE_STORAGE_HOST_DIR"
|
rsync -tr "$LOCAL_STORAGE_DIR/universe" "$REMOTE_STORAGE_HOST_DIR"
|
||||||
|
|
Reference in a new issue