Skip to content

πŸ“ Download a single directory/folder from a GitHub repo

License

Notifications You must be signed in to change notification settings

AayushXtreme/gitdir

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

74 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

gitdir

  • Minimal and colorful output 🌈
  • Works on Linux, MacOS, and Windows
  • Support recursive downloading
  • Proxy support









Install

$ pip3 install --user gitdir

# Yes, thats all :)

Usage

usage: gitdir [-h] [--output_dir OUTPUT_DIR] [--flatten] urls [urls ...] [--proxy Proxy txt file] [--exts File Extensions]

Download directories/folders from GitHub

positional arguments:
  urls                  List of Github directories to download.

optional arguments:
  -h, --help            show this help message and exit

  --output_dir OUTPUT_DIR, -d OUTPUT_DIR
                        All directories will be downloaded to the specified
                        directory.

  --exts, -e            List of File Extensions to download

  --proxy, -p  		      path for file containing http proxies

  --flatten, -f         Flatten directory structures. Do not create extra
                        directory and download found files to output
                        directory. (default to current directory if not
                        specified)

Packge Entry

You can use python -m gitdir / python3 -m gitdir in case the short command does not work.

Exiting

To exit the program, just press CTRL+C.

License

MIT License

Copyright (c) 2019 Siddharth Dushantha

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%