#!/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/*