Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a large file (~20 GB, VirtualBox VM of Windows XP) that I would like to clone to a second computer and then keep synchronized, 1-way, from the primary computer.

Is there a generic way of updating only the changed parts of a binary file?

If there is not a generic tool, is there a specific way to do this for VirtualBox?

share|improve this question
add comment

2 Answers

up vote 4 down vote accepted

How about, well, rsync? It uses a block delta transfer algorithm by default.

share|improve this answer
    
You are right. I didn't know rsync worked with binary files. –  user31752 Mar 18 '11 at 7:35
add comment

I just used xdelta

This creates a diff file that others can download from a server to apply locally. More fiddly than rsync, but you can use this method without having to give your box users access to rsync your server.

Simple install on my mint (debian) computer and worked very nicely:

sudo apt-get install xdelta

then to get the details

man xdelta 

To make the diff, very easy:

xdelta delta b4.2.box b5.0.box b4.2.to.5.0.patch

apparently uses the rsync algorithm

share|improve this answer
add comment

Your Answer

 
discard

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