metmuseum / openaccess

The Metropolitan Museum of Art's Open Access Initiative
Creative Commons Zero v1.0 Universal
1.16k stars 207 forks source link

Document how to download MetObjects.csv #4

Open abetusk opened 7 years ago

abetusk commented 7 years ago

It looks like the MetObjects.csv file is under Git's Large File Storage system (git lfs) and git lfs is needed to download the full MetObjects.csv. Currently, doing a straight git clone https://github.com/metmuseum/openacces of the repository results in a MetObjects.csv file that contains the following lines:

version https://git-lfs.github.com/spec/v1
oid sha256:ae65ed686b2ff727518dba12e3c0c3fa9eb925dc92367ce8557af52768eba08d
size 225088425

Which I believe is an lfs pointer.

To download onto my local system, I first had to install git lfs and then, in the openaccess repository, issue the following commands:

git lfs fetch
git lfs checkout

After which I now see the ~215MB MetObjects.csv file.

It would be nice to update the README.md with these steps for newcomers. I would be happy to add some documentation int he README.md file myself but it looks like you're not taking pull requests.

sotojuan commented 7 years ago

Even easier:

wget https://media.githubusercontent.com/media/metmuseum/openaccess/master/MetObjects.csv
xinyu3ru commented 7 years ago

In Windows 8.1 or higher,you can Win+R,input powershell and run powershell:

cd d:
wget https://media.githubusercontent.com/media/metmuseum/openaccess/master/MetObjects.csv -OutFile MetObjects.csv

wait for finish, MetObjects.csv will come to your D disk. OR you can right click MetObjects.csv here , use "save link to" to download this file by browser.

在win8.1或者更高的系统中,你可以按下组合键 WIN +R输入powershell 来运行powershell,输入以下命令:

cd d:
wget https://media.githubusercontent.com/media/metmuseum/openaccess/master/MetObjects.csv -OutFile MetObjects.csv

等待完成,MetObjects.csv会被下载到D盘。 或者你可以右键点击这个链接MetObjects.csv ,使用浏览器的“链接另存为”来下载MetObjects.csv文件。