<>

More tips on using rsync to deploy your website

February 3, 2010

My post on deploying a website using rsync has gotten quite a few hits.

I thought I'd add some more tips:

rsync -rvz$1

Then you can easily do a DRY RUN. Just type:

./deploy.sh n

The n will get substituted for $1.

Troubleshooting

I've found a lot of times rsync appears to be copying the same files over and over.

There are a few things you can do to troubleshoot when rsync recopies the same files.

The options that I've found come in real handy are:




Built with Scroll v161.0.0