curl: google spreadsheet as .csv <p>I want to download one of my google spreadsheet using curl and save it as a .csv file. Following is the command I am using:</p> <p>(curl --silent --header "Authorization: GoogleLogin auth=AUTH_KEY" <a href="https://spreadsheets.google.com/feeds/download/spreadsheets/Export?key=SPREADSHEET_KEY&amp;exportFormat=csv" rel="nofollow">https://spreadsheets.google.com/feeds/download/spreadsheets/Export?key=SPREADSHEET_KEY&amp;exportFormat=csv</a>) > a.csv</p> <p>This is downloading a file which is in pdf format. Can anybody help me in resolving this issue I am stuck with for 1 hr...</p>