Skip to main content

how How to download CSV invia terminal (SSH)?

I'm trying to download the Chicago Crime stats data (CSV format) from their government website. This is the link for download: https://data.cityofchicago.org/api/views/ijzp-q8t2/rows.csv?accessType=DOWNLOAD,

https://data.cityofchicago.org/api/views/ijzp-q8t2/rows.csv?accessType=DOWNLOAD

but it only works when you copy it to the browser and hit enter.

I am wondering how to download the csv file on terminal? Can I use:

curl -O https://data.cityofchicago.org/api/views/ijzp-q8t2/rows.csv?accessType=DOWNLOAD > Chicago.csv

curl -O https://data.cityofchicago.org/api/views/ijzp-q8t2/rows.csv?accessType=DOWNLOAD > Chicago.csv

I want to save the Chicago.csv to my current work directory on ssh.

how to download CSV in terminal (SSH)?

I'm trying to download the Chicago Crime stats data (CSV format) from their government website. This is the link for download: https://data.cityofchicago.org/api/views/ijzp-q8t2/rows.csv?accessType=DOWNLOAD, but it only works when you copy it to the browser and hit enter.

I am wondering how to download the csv file on terminal? Can I use:

curl -O https://data.cityofchicago.org/api/views/ijzp-q8t2/rows.csv?accessType=DOWNLOAD > Chicago.csv

I want to save the Chicago.csv to my current work directory on ssh.

How to download CSV via terminal (SSH)?

I'm trying to download the Chicago Crime stats data (CSV format) from their government website. This is the link for download:

https://data.cityofchicago.org/api/views/ijzp-q8t2/rows.csv?accessType=DOWNLOAD

but it only works when you copy it to the browser and hit enter.

I am wondering how to download the csv file on terminal? Can I use:

curl -O https://data.cityofchicago.org/api/views/ijzp-q8t2/rows.csv?accessType=DOWNLOAD > Chicago.csv

I want to save the Chicago.csv to my current work directory on ssh.

Source Link
TonyW
  • 19k
  • 42
  • 117
  • 190

how to download CSV in terminal (SSH)?

I'm trying to download the Chicago Crime stats data (CSV format) from their government website. This is the link for download: https://data.cityofchicago.org/api/views/ijzp-q8t2/rows.csv?accessType=DOWNLOAD, but it only works when you copy it to the browser and hit enter.

I am wondering how to download the csv file on terminal? Can I use:

curl -O https://data.cityofchicago.org/api/views/ijzp-q8t2/rows.csv?accessType=DOWNLOAD > Chicago.csv

I want to save the Chicago.csv to my current work directory on ssh.