cd /home ; tar cvf – user | ssh remotemachine ‘cd /destination ; tar xf -‘ it will transfer all file in /home/user to remotemachine:/destination later on.. you might need to transfer back.. using.. ssh remotemachine ‘cd /destination ; tar cvf – user’ | cd /home/ ; tar xf –

continue reading.....