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

9 lines
235 B
Bash
Raw Normal View History

2024-03-04 19:49:48 -06:00
#!/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"/