Created
February 19, 2015 03:35
-
-
Save cpw/25b10753a5a4a9152944 to your computer and use it in GitHub Desktop.
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 | |
SF=/home/cpw/Seafile/instances/ForgeCraft2 | |
INST=/home/cpw/minecraft/forgecraft2 | |
#EXCLUDE="--exclude stuff" | |
EXCLUDE="--exclude railcraft --exclude carpentersblocks" | |
CLEXCLUDE="--exclude ShadersModCore* --exclude PiP* --exclude IGW*" | |
SFMODS=${SF}/mods/ | |
SFCLMODS=${SF}/clientmods/ | |
INMODS=${INST}/mods | |
rsync -vrt --delete ${EXCLUDE} "${SFMODS}" "${INMODS}" | |
rsync -vrt ${CLEXCLUDE} "${SFCLMODS}" "${INMODS}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment