factorio-blueprints/sync-mods-to-server.sh

9 lines
235 B
Bash
Executable File

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