summaryrefslogtreecommitdiffstats
path: root/retrieveAdBlocklists.sh
blob: 798c227eda728103c127321a287c1e88e8a2f8f8 (plain)
1
2
3
4
#!/bin/bash
rm -rf adlists/*
awk -F'|' '{system("wget -q -O adlists/" $1 " " $2)}' adfilelist.txt
perl -pi -e 's/\r\n/\n/g' adlists/*