Created
March 24, 2011 20:51
-
-
Save cduruk/885848 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
if [[ "$TM_SSH_REMOTE_PATH" == "" ]]; then | |
exit_show_tool_tip "Missing project variable: TM_SSH_REMOTE_PATH" | |
fi | |
rsync \ | |
-auz \ | |
--stats \ | |
--delete \ | |
--exclude *.tmproj \ | |
--exclude-from '/Users/cduruk/digg/cduruk.local/rsync-exclude.txt' \ | |
${TM_SSH_PORT:+ --port=$TM_SSH_PORT} \ | |
${TM_SSH_USER:+$TM_SSH_USER@}$TM_SSH_HOST:$TM_SSH_REMOTE_PATH/ \ | |
$TM_PROJECT_DIRECTORY | |
if [[ "$TM_SSH_REMOTE_PATH" == "" ]]; then | |
exit_show_tool_tip "Missing project variable: TM_SSH_REMOTE_PATH" | |
fi | |
rsync \ | |
-auz \ | |
--stats \ | |
--delete \ | |
--exclude *.tmproj \ | |
--exclude-from '/Users/cduruk/digg/cduruk.local/rsync-exclude.txt' \ | |
${TM_SSH_PORT:+ --port=$TM_SSH_PORT} \ | |
${TM_SSH_USER:+$TM_SSH_USER@}$TM_SSH_HOST:$TM_SSH_REMOTE_PATH/ \ | |
$TM_PROJECT_DIRECTORY | |
if [[ "$TM_SSH_REMOTE_PATH" == "" ]]; then | |
exit_show_tool_tip "Missing project variable: TM_SSH_REMOTE_PATH" | |
fi | |
rsync \ | |
-auz \ | |
--stats \ | |
--delete \ | |
--exclude *.tmproj \ | |
--exclude-from '/Users/cduruk/digg/cduruk.local/rsync-exclude.txt' \ | |
${TM_SSH_PORT:+ --port=$TM_SSH_PORT} \ | |
${TM_SSH_USER:+$TM_SSH_USER@}$TM_SSH_HOST:$TM_SSH_REMOTE_PATH/ \ | |
$TM_PROJECT_DIRECTORY | |
if [[ "$TM_SSH_REMOTE_PATH" == "" ]]; then | |
exit_show_tool_tip "Missing project variable: TM_SSH_REMOTE_PATH" | |
fi | |
rsync \ | |
-auz \ | |
--stats \ | |
--delete \ | |
--exclude *.tmproj \ | |
--exclude-from '/Users/cduruk/digg/cduruk.local/rsync-exclude.txt' \ | |
${TM_SSH_PORT:+ --port=$TM_SSH_PORT} \ | |
${TM_SSH_USER:+$TM_SSH_USER@}$TM_SSH_HOST:$TM_SSH_REMOTE_PATH/ \ | |
$TM_PROJECT_DIRECTORY |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment