moving files from command line from server A to server B
Hello
I need to move a long list of files , for example /public_html/images/1.jpg /public_html/images/2.gif /public_html/images/3.gif /public_html/images/4.jpg /public_html/images/5.gif .... /public_html/images/1000.gif FROM server A (linux) to server B (linux) which is the faster way using the linux command line ? Thank you |
Quote:
|
You may make a compressed archive (tar.bz2) before you move. The time you spend in making archive, will surely reward in terms of transfer time & bandwidth usage.
--Dipu ------------------- I don't drink, I don't like it, it makes me feel too good. |
rsync would probably be better than scp, if it fails at any point, it will pick up where it left off so you don't start all over again. rsync also has a compress option to help speed things along during the transfer.
|
All times are GMT -5. The time now is 05:57 AM. |