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)?
link|improve this question

65% accept rate
feedback

3 Answers

up vote 2 down vote accepted

No, rsync can't do that on its own. There is nothing inelegant about using scripting to coordinate UNIX tools to accomplish a task.

link|improve this answer
feedback

No; but it can transparently use compression to speed up transmission (beyond what it gets by sending differentials).

link|improve this answer
Useful in a lot of cases. here the data starts out compressed. – Arthur Ulfeldt Nov 9 '10 at 18:50
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.