Displaying 1 result from an estimated 1 matches for "squiddb".
Did you mean:
squid
2009 May 13
3
Shell Script Pointers?
...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 $FOLDER/urls > $SQUIDDB/urls.missing
cat $SQUIDDB/domains.missing >> $SQUIDDB/domains
cat $SQUI...