From 96df3ba9e0becee5d95bbcbdbf205c4315382346 Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Mon, 4 Mar 2024 19:49:48 -0600 Subject: [PATCH] Add server sync script donut steel --- sync-mods-to-server.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 sync-mods-to-server.sh diff --git a/sync-mods-to-server.sh b/sync-mods-to-server.sh new file mode 100755 index 0000000..be25704 --- /dev/null +++ b/sync-mods-to-server.sh @@ -0,0 +1,8 @@ +#!/bin/bash +steamroot="$HOME/.var/app/com.valvesoftware.Steam" +factorioroot="$steamroot/.factorio" +modroot="$factorioroot/mods" + +server="vm-general-1.ashburn.mgmt.desu.ltd" + +rsync -avHS "$modroot"/ "$server:~/factorio/mods/$smodroot"/