From 38a6d6ddef54021cb0e24a95e0599dda3bedc632 Mon Sep 17 00:00:00 2001 From: christos Date: Thu, 26 Mar 2020 17:14:53 +0000 Subject: [PATCH] Changed filename to download.sh. Updated READMEs. --- README.md | 5 +++-- scripts/README.md | 18 ++++++++++++++---- scripts/{download_all.sh => download.sh} | 0 3 files changed, 17 insertions(+), 6 deletions(-) rename scripts/{download_all.sh => download.sh} (100%) diff --git a/README.md b/README.md index 788c5d8..68e007f 100644 --- a/README.md +++ b/README.md @@ -119,13 +119,14 @@ Reading a paper is not the same as reading a blogpost or a novel. Here are a few * Love a Paper - [@loveapaper](https://twitter.com/loveapaper) -### Download all papers +### Download papers Open your favourite terminal and run: ```bash -$ ./scripts/download_all.sh +$ ./scripts/download.sh ``` +See [README.md](./scripts/README.md) for more options. ## Contributing Guidelines diff --git a/scripts/README.md b/scripts/README.md index 17796a4..639933f 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -1,12 +1,22 @@ -# Download Utility +# Scripts -A nice little script to download all papers (pdfs) in the repo to their respective folders. +Scripts for working with repository content. + +## Download Utility +A convenience script to download papers. This will scrape the README.md files for URLs containing links to pdfs and download them to their respective directories. ### Usage -Simply open a terminal and run: +Open your favourite terminal and run: ```bash -$ ./download_all.sh +$ ./scripts/download.sh +``` + + +Optionally, to download specific topics specify their directories as arguments: + +```bash +$ ./scripts/download.sh android concurrency ``` This can be run from anywhere as long as the script doesn't change location \ No newline at end of file diff --git a/scripts/download_all.sh b/scripts/download.sh similarity index 100% rename from scripts/download_all.sh rename to scripts/download.sh