Skip to content
Permalink
Browse files

Update readme with new parameters

Signed-off-by: Nir Izraeli <nirizr@gmail.com>
  • Loading branch information...
nirizr committed Mar 12, 2017
1 parent 588fe7c commit 7ce1b51061a46466314aad5ddac04fae006c0b4f
Showing with 12 additions and 2 deletions.
  1. +12 −2 README.md
  2. 0 git_downloader.py
@@ -9,21 +9,31 @@ Find and download files using wildcards from multiple Github repositories
[-t TIMEOUT] [-v]

Github file downloader

optional arguments:
-h, --help show this help message and exit
-u USERNAME, --username USERNAME
Username used to authenticate with github for
increased rate limit
-p PASSWORD, --password PASSWORD
Password or token used to authenticate with github
-r REPO_FILE, --repo_file REPO_FILE
Path for the input file which contains a url of a
Github repository for each separate line
-l LAST_REPO, --last_repo LAST_REPO
When not using a repo_file, this will be used as
starting position for github repo crawl
-w WILDCARD, --wildcard WILDCARD
Unix shell-style wildcard to match files to download
(for example: *.txt)
-o OUTPUT_DIR, --output_dir OUTPUT_DIR
Directory to store all downloaded files
-y YARA_META, --yara-meta YARA_META
Yara meta rule filename to create
-t TIMEOUT, --timeout TIMEOUT
Socket timeout (seconds)
-v, --verbose increase output verbosity
## Example
python git_downloader.py -r repos.txt -w *.txt -o /directory/for/downloaded/files
0 git_downloader.py 100644 → 100755
No changes.

0 comments on commit 7ce1b51

Please sign in to comment.
You can’t perform that action at this time.