Created
April 28, 2014 20:03
-
-
Save AbrarSyed/11382516 to your computer and use it in GitHub Desktop.
Update forgecraft
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
#! /bin/bash | |
game=some/place #/home/abrarsyed/pahicraft/ForgeCraft2_mc | |
seafile=some/other/place #/home/abrarsyed/pahicraft/instances/ForgeCraft2 | |
# just to be sure | |
mkdir -p $game/config $game/mods $game/hats $game/resourcepacks | |
#sync mods and configs and hats | |
rsync -r --delete $seafile/mods $game | |
rsync -r --delete $seafile/config $game | |
rsync -r --delete $seafile/hats $game | |
# copy over client mods if desired | |
cp -rf $seafile/mods\ \(client,\ optional\)/* $game/mods | |
# dont forget the servers dat | |
cp -f $seafile/../servers.dat $game/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment