Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this answer

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

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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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