Archive for the ‘Linux’ Category

Bash script to upload logs to Google Cloud Storage

The following Bash script is using the Google Gsutil tool to upload hourly rotated server logs files (statistics) to Google Cloud. For a Bash script to upload logs files from Google Cloud to Google Bigquery please read Bash script to upload from Google Cloud storage to Google Bigquery. Because the logs are rotating every hour, […]

How to get directories via FTP

How to GET directories via FTP: You can get a directory files (recursive) by using wget command with flag -m for –mirror wget -m See using wget to recursively download whole ftp directories