2 ms·
We use rsync to deploy all our front-end code/files. It is pretty robust, but, syncing multiple files is not an atomic operation across the batch as a whole. S
by joubert 17y ago
We use rsync to deploy all our front-end code/files.
It is pretty robust, but, syncing multiple files is not an atomic operation across the batch as a whole. So if one file fails you do get an err report. But the other files would have been synced. Once you fix whatever the problem is and you re-run your script, that one file will then be synced.
In practice, rsync is really great for deploying.
It is also neat for backups - in fact, before I got my Mac and started using Time Machine, I used rsync for backups (and in fact used rsync.net for offsite backups).