I need to transfer one directory from one server to another, how can I do this. There is about 5000 files in there, and about 3GB of data. Can I do it via SSH?
Ok, found some info, but seem to be able to only use that to transfer 1 3GB file. How can I use that to transfer each file..... scp /home/*******/public_html/****photos/* ssphotos@202.*.*.*:/home/*******/public_html/****photos/ Comes back saying "Argument list too long" Any thoughts?
Hi, Use rsync. (running on source server) rsync -av /home/user/public_html user@destination.server.com:/home/user the user@ part is optional if the account names are the same on both servers. Edit: also I should mention that you are not using the best arguments for scp -r /home/user/public_html :/home/ssphotos Note that scp will not copy hidden files and rsync is generally a better choice for large transfers.