-
-
Save LeeWarnock/de6f1c06398061f6a4bbdd73611a88b6 to your computer and use it in GitHub Desktop.
Make one large blocklist from the bluetack lists on iblocklist.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| curl -s http://www.iblocklist.com/lists.php \ | |
| | sed -n "s/.*value='\(http:.*=bt_.*\)'.*/\1/p" \ | |
| | xargs wget -O - \ | |
| | gunzip \ | |
| | egrep -v '^#' \ | |
| >> biglist.p2p | |
| # for i in *gz; do j=${i##*list=}; j=${j%%\&*}; mv "$i" "$j".gz; done | |
| # zcat *.gz | egrep -v '^#' > biglist.p2p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment