Skip to content

Instantly share code, notes, and snippets.

@nedSaf
Created March 23, 2015 07:28
Show Gist options
  • Save nedSaf/2108559906930fc8c81c to your computer and use it in GitHub Desktop.
Save nedSaf/2108559906930fc8c81c to your computer and use it in GitHub Desktop.
Sync pantheon
#!/bin/bash
PANTHEON_DIR="/Library/WebServer/Documents/repo"
rm -rf $PANTHEON_DIR/profiles/pipeline
cp -R pipeline $PANTHEON_DIR/profiles/pipeline
rsync -avz --exclude '1' pipeline $PANTHEON_DIR/profiles/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment