Add server sync script donut steel
This commit is contained in:
parent
2187fbebb2
commit
96df3ba9e0
8
sync-mods-to-server.sh
Executable file
8
sync-mods-to-server.sh
Executable 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"/
|
Loading…
Reference in New Issue
Block a user