Skip to content

Instantly share code, notes, and snippets.

@toddbranch
Created February 17, 2015 21:39
Show Gist options
  • Select an option

  • Save toddbranch/ee6e765c5e8d3572067c to your computer and use it in GitHub Desktop.

Select an option

Save toddbranch/ee6e765c5e8d3572067c to your computer and use it in GitHub Desktop.
lsync config
sync {
default.rsyncssh,
source="/home/toddbranch/work/mywedding",
host="dev",
targetdir="/www/dev-env/tbranchflower/www/virtual/mywedding/current",
delete="running",
exclude={ ".*",
"*.tmp",
"mywedding/src/fonts",
"assets",
"bower.json",
".bowerrc",
"build.xml",
"composer",
"composer.json",
"composer.lock",
".git",
".gitignore",
".grunt",
".jshintrc",
"karma.conf.js",
"node_modules",
"package.json",
"phing",
"README.md",
"tests",
"tests-api",
"tmp",
"VERSION"
},
rsync = {
compress = false,
_extra = {"--bwlimit=50000"},
},
delay=1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment