-
jq — https://jqlang.github.io/jq/ — "like sed for JSON data"
There are several options available for installing jq. I prefer to use Homebrew:
brew install jq
Taken from http://moinne.com/blog/ronald/mysql/backup-large-databases-with-mysqldump
Also consider testing if system gzip supports --rsyncable
and using that in script, might greatly speed up rsyncs.