![]() |
|
Shell Script For Move Your Server - Printable Version +- LCKB (https://lckb.dev/forum) +-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109) +--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193) +---- Forum: Tutorials & Guides (https://lckb.dev/forum/forumdisplay.php?fid=124) +----- Forum: General Guides (https://lckb.dev/forum/forumdisplay.php?fid=194) +----- Thread: Shell Script For Move Your Server (/showthread.php?tid=1154) |
- Scura - 04-05-2021 Hey guys! I've made a really simple script for easy move your server! Thanks to it, you can easy create a zip archive (Build.zip) ready for patch your server with a new version, so you are not forced to manually copy it rm -rf ./Build rm Build.zip mkdir Build cd Build mkdir GameServer mkdir Login mkdir Helper mkdir SubHelper mkdir Connector mkdir Messenger cd ../ cp ./GameServer/GameServer.exe ./Build/GameServer/GameServer.exe cp ./Login/LoginServer.exe ./Build/Login/LoginServer.exe cp ./Helper/Helper.exe ./Build/Helper/Helper.exe cp ./SubHelper/SubHelper.exe ./Build/SubHelper/SubHelper.exe cp ./Connector/Connector.exe ./Build/Connector/Connector.exe cp ./Messenger/Messenger.exe ./Build/Messenger/Messenger.exe tar.exe -a -c -f Build.zip Build You can easily use it on Linux or you can enabled the sub-linux system and use it on windows too, just need to take this script and save is as "sh" file 2 |