Skip to content

Instantly share code, notes, and snippets.

@andrewle
Created January 26, 2010 04:39
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 andrewle/286549 to your computer and use it in GitHub Desktop.
Save andrewle/286549 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
#
# Ignored .svn directories
# Also ignored .DS_Store files from Mac file system
# Add the --dry-run argument if you want to just test it first
DOMAIN="phototourwebsites@phototourwebsites.com"
DIR="/home/phototourwebsites/www/phototoursmls/idx_dev_andrew"
rsync -avz \
--exclude '.svn/' \
--exclude '.DS_Store' \
IDX/ $DOMAIN:$DIR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment