#!/bin/bash SHEET_ID='XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' CSV_URL="https://docs.google.com/spreadsheets/d/${SHEET_ID}/export?format=csv&id=${SHEET_ID}&gid=0" OUTPUT=/tmp/${SHEET_ID} wget --no-check-certificate -q -O "${OUTPUT}" ${CSV_URL} cat ${OUTPUT} rm -f ${OUTPUT}