Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-27-2010, 11:24 AM
|
#1
|
|
Member
Registered: Jul 2007
Location: Barcelona
Posts: 115
Rep:
|
Multi-threaded rsync ?
Hello,
I want to copy a folder from one server to another, the folder is full of small files and it goes very slow because of that.
I've been looking around for a thing like a multi-treaded rsync to copy faster but I haven't found anything.
Can somebody help me on this?
thanks.
|
|
|
|
10-27-2010, 11:30 AM
|
#2
|
|
Member
Registered: Jul 2010
Location: São Paulo - Brasil
Distribution: Fedora 17 amd64 / Fedora 17 i686 LXDE (w e17)
Posts: 229
Rep:
|
it's a job to do only once? If so, there's my tip: zip/tar the files in the source, copy/move the package created, and extract it on the destination
Last edited by fbobraga; 10-27-2010 at 11:32 AM.
|
|
|
|
10-27-2010, 11:50 AM
|
#3
|
|
Member
Registered: Jul 2007
Location: Barcelona
Posts: 115
Original Poster
Rep:
|
its a 70gb directory in a disc without free space, so there is no space for the resulting tar file. 
|
|
|
|
10-27-2010, 12:15 PM
|
#4
|
|
Member
Registered: Jul 2010
Location: São Paulo - Brasil
Distribution: Fedora 17 amd64 / Fedora 17 i686 LXDE (w e17)
Posts: 229
Rep:
|
Quote:
Originally Posted by permalac
its a 70gb directory in a disc without free space, so there is no space for the resulting tar file. 
|
You cannot use a external/USB HDD? - it would make the whole thing a lot easier 
|
|
|
|
10-27-2010, 04:44 PM
|
#5
|
|
Moderator
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware, Debian
Posts: 12,517
|
You can use tar in conjunction with netcat to do this job. Have a look here.
|
|
|
|
10-27-2010, 06:11 PM
|
#6
|
|
Member
Registered: Jul 2007
Location: Barcelona
Posts: 115
Original Poster
Rep:
|
Quote:
Originally Posted by fbobraga
You cannot use a external/USB HDD? - it would make the whole thing a lot easier 
|
What happens if the server is not side by side with the coffee machine?
Sorry, just kidding, probably in 10 hours or so it will be done with rsync, I was just wondering if there is a way to parallelize rsync to use all the cores from a host.
|
|
|
|
10-27-2010, 06:17 PM
|
#7
|
|
Member
Registered: Jul 2007
Location: Barcelona
Posts: 115
Original Poster
Rep:
|
Quote:
Originally Posted by TobiSGD
You can use tar in conjunction with netcat to do this job. Have a look here.
|
In this case I will have to copy all again in case of an updated file. Nice approach anyway.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:06 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|