Add server sync script donut steel

This commit is contained in:
Salt 2024-03-04 19:49:48 -06:00
parent 2187fbebb2
commit 96df3ba9e0
1 changed files with 8 additions and 0 deletions

8
sync-mods-to-server.sh Executable file
View File

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