Skip to content

Instantly share code, notes, and snippets.

@BigAl
BigAl / getBlockLists.sh
Last active January 7, 2020 04:14 — forked from johntyree/getBlockLists.sh
Make one large blocklist from the bluetack lists on iblocklist.com
#!/usr/bin/env sh
# Download lists, unpack and filter, write to stdout
curl -s https://www.iblocklist.com/lists.php \
| sed -n "s/.*value='\(http:.*iblocklist.*\)'.*/\1/p"
| xargs curl -sL --compressed
| gunzip
| egrep -v '^#'