Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

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.

share|improve this answer
add comment

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
add comment

Your Answer

 
discard

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.