Skip to content

Commit

Permalink
Rename project
Browse files Browse the repository at this point in the history
  • Loading branch information
KevCui committed Feb 19, 2021
1 parent b093399 commit 9ccfd6e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# git-dl
# ghdl

> GitHub File Downloader
Expand All @@ -9,7 +9,7 @@
- [Examples](#examples)
- [Download files in current directory](#download-files-in-current-directory)
- [Download all files recursively under each directory](#download-all-files-recursively-under-each-directory)
- [When you need git-dl.sh, when not?](#when-you-need-git-dlsh-when-not)
- [When you need ghdl.sh, when not?](#when-you-need-ghdlsh-when-not)

## Features

Expand All @@ -21,7 +21,7 @@

```
Usage:
./git-dl.sh [-r] <url>
./ghdl.sh [-r] <url>
Options:
<url> GitHub URL
Expand All @@ -36,7 +36,7 @@ Options:
- Download files in `cwa-app-android` repository `main` folder:

```bash
~$ ./git-dl.sh https://github.com/corona-warn-app/cwa-app-android/tree/main/Corona-Warn-App/src/main
~$ ./ghdl.sh https://github.com/corona-warn-app/cwa-app-android/tree/main/Corona-Warn-App/src/main
[INFO] Skip directory /corona-warn-app/cwa-app-android/tree/main/Corona-Warn-App/src/main/assets
[INFO] Skip directory /corona-warn-app/cwa-app-android/tree/main/Corona-Warn-App/src/main/java/de/rki/coronawarnapp
[INFO] Skip directory /corona-warn-app/cwa-app-android/tree/main/Corona-Warn-App/src/main/res
Expand All @@ -54,7 +54,7 @@ main
- Download all files under `Directory Traversal` from `PayloadsAllTheThings` repository

```bash
~$ ./git-dl.sh -r https://github.com/swisskyrepo/PayloadsAllTheThings/tree/master/Directory%20Traversal
~$ ./ghdl.sh -r https://github.com/swisskyrepo/PayloadsAllTheThings/tree/master/Directory%20Traversal
[INFO] Downloading https://github.com/swisskyrepo/PayloadsAllTheThings/raw/master/Directory%20Traversal/Intruder/deep_traversal.txt
[INFO] Downloading https://github.com/swisskyrepo/PayloadsAllTheThings/raw/master/Directory%20Traversal/Intruder/directory_traversal.txt
[INFO] Downloading https://github.com/swisskyrepo/PayloadsAllTheThings/raw/master/Directory%20Traversal/Intruder/dotdotpwn.txt
Expand All @@ -71,13 +71,13 @@ Directory%20Traversal
└── README.md
```

## When you need git-dl.sh, when not?
## When you need ghdl.sh, when not?

| Use case | Option |
| -------------------------------------------------- | ------------------------------------------------- |
| Download entire GitHub repository | `git clone --depth 1 <repo_url>` |
| Download crazy numerous files in a specific folder | [DownGit](https://github.com/MinhasKamal/DownGit) |
| Download some files in a specific folder | `git-dl.sh <repo_folder_url>` |
| Download some files in a specific folder | `ghdl.sh <repo_folder_url>` |
| Download one single file | Please hit the `Raw` button |

---
Expand Down
2 changes: 1 addition & 1 deletion git-dl.sh → ghdl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# GitHub File Downloader
#
#/ Usage:
#/ ./git-dl.sh [-r] <url>
#/ ./ghdl.sh [-r] <url>
#/
#/ Options:
#/ <url> GitHub URL
Expand Down

0 comments on commit 9ccfd6e

Please sign in to comment.