#!/bin/bash rm -rf tmp mkdir tmp scp root@128.140.64.118:"/var/log/nginx/access.log*" ./tmp/ zcat -f ./tmp/access.log* | goaccess --log-format=COMBINED