| Current Path : /home/ubuntu/ |
| Current File : //home/ubuntu/send_logs.sh |
#!/bin/bash
user="al_aws_first"
files=('/var/log/apache2/access.log' '/var/log/apache2/other_vhosts_access.log')
for file in ${files[@]}; do
scp $file $user@apachelogviewer.net:data
done
;?>)