Displaying 1 result from an estimated 1 matches for "blacklistsit".
Did you mean:
blacklistsite
2009 May 13
3
Shell Script Pointers?
...ains" and "urls" (pretty self
explanitory). This is how far I have gotten (I haven't tested this
script yet as I haven't had a chance I have only gotten as far as
writting it, this is what I have so far:
#!/bin/bash
#This will be running from home directory
wget http://www.blacklistsite.com/blacklist.tar
tar -cxf blacklist.tar
cd BL
find ./ -type d -maxdepth 1 | while read FOLDER; do
SQUIDDB="usr/local/squidGuard/db/$FOLDER"
sort_db($SQUIDDB)
comm -3 $SQUIDDB/domains $FOLDER/domains > $SQUIDDB/domains.missing
comm -3 $SQUIDDB/urls $FO...