summaryrefslogtreecommitdiffstats
path: root/old/UploadContentsToAnyclipServer.sh
blob: 297a9219063badef6b4924d850f179ac3d140cc7 (plain) (blame)
1
2
3
4
5
#!/bin/sh
shopt -s dotglob
directory=`pwd`
base=`basename "$directory"`
rsync -rlptDvz --exclude=*.pyc --exclude=.git --exclude=.gitignore --delete-excluded $1* labs.anyclip.com:/var/www/localhost/htdocs/$base/