Skip to content
Download all images in subreddit with simple bash script
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
readme.md
subreddit-download.sh

readme.md

Subreddit Image Downloader

Subreddit downoader is a bash script which:

  • download all images in full size
  • download only new images
  • support paging
  • is MacOS/Linux/Windows compatible

Requirements

Download incrementally

Usage

./subreddit-download.sh <subreddit name> <directory> <pages>

Download all images from catpictures subreddit:

./subreddit-download.sh catpictures ./catpictures 5

You can also use cron to backup images hourly:

0 * * * * /home/pi/subreddit-download.sh catpictures ~/Downloads
You can’t perform that action at this time.