This commit is contained in:
Daniel Flanagan 2016-08-08 07:34:05 -05:00
parent 1f4df65bf0
commit 2403986bce

View file

@ -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-$(date +%Y.%m.%d_%H.%M.%S)" 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"