Last active
October 8, 2015 15:57
-
-
Save tjone270/6205426942923db97f57 to your computer and use it in GitHub Desktop.
Example of backing up/restoring files before running 'qzeroded' update.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo Backing up workshop.txt... | |
cp -fv /home/steam/steamcmd/steamapps/common/qlds/baseq3/workshop.txt /home/steam/steamcmd/steamapps/common/qlds/baseq3/workshop.bak | |
# Running 'steamcmd' to update qzeroded | |
echo Updating Quake Server... | |
/home/steam/steamcmd/steamcmd.sh +login "$steamUser" "$steamPass" +force_install_dir /home/steam/steamcmd/steamapps/common/qlds/ +app_update 349090 +quit | |
echo Restoring workshop.txt... | |
cp -fv /home/steam/steamcmd/steamapps/common/qlds/baseq3/workshop.bak /home/steam/steamcmd/steamapps/common/qlds/baseq3/workshop.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment