Devops question from a web developer alert :) I want to copy all locally modified files over to a remote server. Now I know I can use rsync, something like:
rsync -cavzu / email@example.com:/file/path/
But I wondered whether there is a convenient wrapper around rsync these days? Ideally it would be nice to have the following features:
- configure files that I never want to copy across (e.g.
localsettings.pyfor Django projects)
- store the remote filepath so I don't have to specify it each time
- store different options for deploying to dev or production servers, specifying which with a single flag
Again, I guess I could do all this by writing my own shell scripts around rsync, but I would just like to know if there is an easier utility for doing the above these days.