document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. #!/bin/bash
  2. version=1.0
  3. exec find /etc/awstats/ -maxdepth 1 -mindepth 1 ! -name "*.com.br*" -name "awstats.*.conf" -printf \'%p %f\\n\'|sort|
  4.    while read p f;
  5.      do
  6.        a=${f#awstats.};
  7.        str=${a%.conf};
  8.        file=/media/sshfs/lambda_apache2_log/${str}.log;
  9.        echo "${str}";
  10.        grep $str /media/sshfs/lambda_apache2_log/access_www4.log >> $file;
  11.      done;
  12. exit 0
');