Add server sync script donut steel
This commit is contained in:
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"/
|
Reference in New Issue
Block a user