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"/