diff --git a/README.md b/README.md index 9dec257..c71397e 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -Reddit Image Downloader +rid - Reddit Image Downloader ========================== Simple script downloading images from subreddit. @@ -12,7 +12,7 @@ Requirements Usage ===== ``` -Usage: ./reddit_image_downloader 'subreddit_name' [hot|new|rising|top|controversial] [number] [all|year|month|week|day] -Examples: ./reddit_image_downloader starterpacks new 10 - ./reddit_image_downloader funny top 50 month +Usage: rid 'subreddit_name' [hot|new|rising|top|controversial] [number] [all|year|month|week|day] +Examples: rid starterpacks new 10 + rid funny top 50 month ``` diff --git a/reddit_image_downloader b/rid similarity index 86% rename from reddit_image_downloader rename to rid index 98eaea2..5685e3a 100755 --- a/reddit_image_downloader +++ b/rid @@ -5,10 +5,10 @@ timeout=60 usage() { printf "%s" "\ -Usage: ./download-subreddit-images.sh 'subreddit_name' [hot|new|rising|top|controversial] [number] [all|year|month|week|day] -Examples: ./download-subreddit-images.sh starterpacks new 10 - ./download-subreddit-images.sh funny top 50 month -"; exit 1; +Usage: rid 'subreddit_name' [hot|new|rising|top|controversial] [number] [all|year|month|week|day] +Examples: rid starterpacks new 10 + rid funny top 50 month +"; exit 0; } subreddit=$1