summaryrefslogtreecommitdiffstats
path: root/retrieveAdBlocklists.sh
diff options
context:
space:
mode:
Diffstat (limited to 'retrieveAdBlocklists.sh')
-rwxr-xr-xretrieveAdBlocklists.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/retrieveAdBlocklists.sh b/retrieveAdBlocklists.sh
new file mode 100755
index 0000000..a56c73e
--- /dev/null
+++ b/retrieveAdBlocklists.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+while read p; do
+ echo "$p" | awk '{split($0,a,"|"); system("wget -O adlists/"a[1] " " a[2])}'
+done < adfilelist.txt