summaryrefslogtreecommitdiffstats
path: root/retrieveAdBlocklists.sh
diff options
context:
space:
mode:
authortristan <steckbrief@geekmail.de>2019-03-15 11:40:09 +0100
committertristan <steckbrief@geekmail.de>2019-03-15 11:40:09 +0100
commitce5c3fd5ff52eb8168b7b998743dd6183ecfc5be (patch)
tree05de8323781e973f5968bf83a7212e465d0db55e /retrieveAdBlocklists.sh
parent3dc24e89b876888cdfac9e3c52d58799fba0e4de (diff)
adds first implementation of retrieve and build AdBlocklists
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