Copy Files

When you want to copy files from one linux host to another you can do so with scp

 scp -r root@HOSTB:/shares/internal/PUBLICDATA/Music/* /c/media/Music/

Let say you are on HOSTA and you give the upper command this will copy all files from HOSTB in the directory /shares/internal/PUBLICDATA/Music to HOSTA in the directory /c/media/Music/

When you have to copy a lot of files you better use rsync:

rsync -ave ssh root@HOSTB:/shares/internal/PUBLICDATA/Music/ /c/media/Music/
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License