Home Download Specific Files from a GitHub Repository (English)
Post
Cancel

Download Specific Files from a GitHub Repository (English)

Download Specific Files from a GitHub Repository

Is it possible to download only specific files from a GitHub repository?

Yes!

On GitHub, you can download only certain folders or files from a public repository, but it requires a bit of technique since GitHub’s interface does not support direct partial downloads.

One of the simplest methods is to use the online tool DownGit.link

  1. Open DownGit.
  2. Enter the URL of the folder you want to download, for example: https://github.com/opencv/opencv/tree/4.10.0/samples/data
  3. Click “Generate Download Link” and then download the generated link.

Demo

I want to download only the images from the opencv repository for my experiments.

Desktop View

Copy link

Desktop View

Download done!

Desktop View

☝ツ☝

This post is licensed under CC BY 4.0 by the author.

👈 ツ 👍