Skip to content

Instantly share code, notes, and snippets.

@cpw
Created February 19, 2015 03:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cpw/25b10753a5a4a9152944 to your computer and use it in GitHub Desktop.
Save cpw/25b10753a5a4a9152944 to your computer and use it in GitHub Desktop.
#!/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