From ce5c3fd5ff52eb8168b7b998743dd6183ecfc5be Mon Sep 17 00:00:00 2001 From: tristan Date: Fri, 15 Mar 2019 11:40:09 +0100 Subject: adds first implementation of retrieve and build AdBlocklists --- retrieveAdBlocklists.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 retrieveAdBlocklists.sh (limited to 'retrieveAdBlocklists.sh') 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 -- cgit v1.2.3