I want to copy a local disk image to another computer in the local network. It is a large directory (around 15 GB) and to speed it up I use this little trick:
cd /Volumes/myserver
tar -cvzf image-dir.gz /Users/francis/image-dir/
For the unpacking I can use:
cd /
tar -xvzf /Volumes/myserver/image-dir.gz
The idea is improve performance by sending only compressed data over the network. However, it's not clear if tar actually does the compression before or after the data has been sent over the network. Does anyone know?
Alternative solutions are also welcome.