Transfer large number of files host to host
Hello...
I have 2 hosts, one that is essentially blank and the other has a large number of files and subdirectories. I need to be able to transfer the files and subdirectories from the used host to the new one. I don't have enough space on the old host to hold all the files and subdirectories. I've read that there may be a way to transfer the files via a zipped tar file but I haven't found any examples. I'm lost. I appreciate your time and assistance. Blaine |
Hi,
The best choice (if available) is rsync Cheers, Tink |
if you want to transfer directory eg. /home/userA from host1 10.0.0.21 to host2 10.0.0.22 /home/temp
at host1: # cd /home # tar cf - userA|ssh 10.0.0.22 "cd /home/temp; tar xf -" |
I'd ftp them.
A compressed tar file or cat to a gzip or 7zip or such would mean that on the other end you'd have to un-compress them. You could also use nc (netcat) on both ends and compress between. |
eyt,
Will this line also transfer all the files in all the subdirectories as well? Thanks.... Blaine |
jefro,
Thanks for your idea... I don't think ftp is recursive is it? I have multiple files in multiple subdirectories... Thanks and I'll keep ftp in mind... Blaine |
All times are GMT -5. The time now is 11:20 PM. |