Rename to rid.
This commit is contained in:
parent
b574927ebd
commit
4d2acae47d
|
@ -1,4 +1,4 @@
|
||||||
Reddit Image Downloader
|
rid - Reddit Image Downloader
|
||||||
==========================
|
==========================
|
||||||
|
|
||||||
Simple script downloading images from subreddit.
|
Simple script downloading images from subreddit.
|
||||||
|
@ -12,7 +12,7 @@ Requirements
|
||||||
Usage
|
Usage
|
||||||
=====
|
=====
|
||||||
```
|
```
|
||||||
Usage: ./reddit_image_downloader 'subreddit_name' [hot|new|rising|top|controversial] [number] [all|year|month|week|day]
|
Usage: rid 'subreddit_name' [hot|new|rising|top|controversial] [number] [all|year|month|week|day]
|
||||||
Examples: ./reddit_image_downloader starterpacks new 10
|
Examples: rid starterpacks new 10
|
||||||
./reddit_image_downloader funny top 50 month
|
rid funny top 50 month
|
||||||
```
|
```
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
timeout=60
|
timeout=60
|
||||||
|
|
||||||
usage() { printf "%s" "\
|
usage() { printf "%s" "\
|
||||||
Usage: ./download-subreddit-images.sh 'subreddit_name' [hot|new|rising|top|controversial] [number] [all|year|month|week|day]
|
Usage: rid 'subreddit_name' [hot|new|rising|top|controversial] [number] [all|year|month|week|day]
|
||||||
Examples: ./download-subreddit-images.sh starterpacks new 10
|
Examples: rid starterpacks new 10
|
||||||
./download-subreddit-images.sh funny top 50 month
|
rid funny top 50 month
|
||||||
"; exit 1;
|
"; exit 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
subreddit=$1
|
subreddit=$1
|
Loading…
Reference in New Issue