diff options
author | tristan <steckbrief@geekmail.de> | 2019-03-15 11:40:09 +0100 |
---|---|---|
committer | tristan <steckbrief@geekmail.de> | 2019-03-15 11:40:09 +0100 |
commit | ce5c3fd5ff52eb8168b7b998743dd6183ecfc5be (patch) | |
tree | 05de8323781e973f5968bf83a7212e465d0db55e /retrieveAdBlocklists.sh | |
parent | 3dc24e89b876888cdfac9e3c52d58799fba0e4de (diff) |
adds first implementation of retrieve and build AdBlocklists
Diffstat (limited to '')
-rwxr-xr-x | retrieveAdBlocklists.sh | 4 |
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 |