I need to transfer a lot of compressed (db archive) files reliably then uncompress them on the other side. Once they are uncompressed they will be promptly ingested by the DB and then deleted.
I'm currently rsyncing the whole batch over then uncompressing all of them, then ingesting all of them. This makes poor use of my disc io and processor on the receiver and just seems inelegant.
- can i have rsync uncompress them as it copies them (either before or after)?