Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried git clone, but it's too slow, how to do it with rsync? is it faster? If I do rsync rsync://rsync.kernel.org/pub/ it just shows:

drwxr-sr-x        4096 2011/11/16 04:40:02 kernel
share|improve this question

The command probably should be

$ rsync -av rsync://rsync.kernel.org/pub .

But, I doubt this is actually what you want to be doing. This will completely mirror the public parts of the kernel archive. You will get all versions of everything available, not just the current version.

Without seeing the git clone command, I'm guessing it's the one to download the kernel sources, only. Because of the way Git works, you will get all versions as well, but in a much, much more efficient way than an rsync mirror.

If you need something faster than a Git repository download, I suggest you just download the latest release or RC version. That will get you a single version. You'll miss out on changes made since the last release or RC. If you need that, Git is the way to get it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.