I know I can use cp to copy all folder $HOME/data/
to another location. Something like to locally attached USB pen
cp -avr $HOME/data/ /mnt/usbdisk/
What I wanna know is how do we copy folder and contents in Linux to remote server? We have another branch office and they attached external hard disk. So how to tell cp to copy $HOME/data/
to server in another city?