From 4d2acae47d0d67d2ffe03dc070bdd275aca6cdc2 Mon Sep 17 00:00:00 2001 From: dbeley <6568955+dbeley@users.noreply.github.com> Date: Fri, 14 Feb 2020 23:56:52 +0100 Subject: [PATCH] Rename to rid. --- README.md | 8 ++++---- reddit_image_downloader => rid | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) rename reddit_image_downloader => rid (86%) 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