search for: sort_db

Displaying 1 result from an estimated 1 matches for "sort_db".

2009 May 13
3
Shell Script Pointers?
...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 $SQUIDDB/urls.missing >> $SQUIDDB/urls rm $SQUIDDB/...