Skip to content

Instantly share code, notes, and snippets.

@xcloudx01
xcloudx01 / download-e621.bash
Created April 28, 2025 08:14 — forked from za3k/download-e621.bash
download-e621.bash
#!/bin/bash
#
# e621 downloader. maintains a mirror of e621 (just DB export+images, not the HTML)
# suggested use is to run this from crontab once per day.
# this maintains an infinite number of database snapshots and also keeps deleted images forever (in a separate directory) because I'm a packrat. feel free to modify to delete old stuff.
#
# written by zachary "za3k" vance. released in the public domain
#
# dependencies: csvtools (davylandman), chronic (joeyh's moreutils, optional), wget, gzip, coreutils
#