miércoles 7 de octubre de 2009

piping partimage using stdout

I don't use partimage a lot and when I use it I tend to use it via it's text interface, but the other day we wanted to send the output of partimage to another computer through the network, and partimaged was not an option.

After looking around a couple of times the final answer came from a changelog file and we ended up with this magical line that I'm writing here and which works really well.

Linea mágica para mandar la salida de partimage por la red usando la salida estándar:

partimage -f3 -d -V0 -B gui=no save /dev/sda1 stdout | nc -w 60 address port