方法一, 推荐使用!
先安装包
conda install anaconda::pip
pip install zenodo_get
zenodo_get -h
下载命令
nohup zenodo_get 10782711 &
# the default settings should work for most use cases:
zenodo_get RECORD_ID_OR_DOI
其他参数
-m : generate md5sums.txt for verification. Beware, if md5sums.txt is present in the dataset, it will overwrite this generated file. Verification example: md5sum -c md5sums.txt
-g GLOB : A glob expression to select a subset of record files.
-w FILE : instead of downloading the record files, it will generate a FILE which contains direct links to the Zenodo site. These links could be downloaded with any download manager, e.g. with wget: wget -i urls.txt
-e : continue on error. It will skip the files with errors, but it will try to download the rest of the files.
-k : keep files: it will keep files with invalid md5 checksum. The main purpose is debugging.
-R N: retry on error N times.
-p N: Waiting time in sec before retry attempt. Default: 0.5 sec.
-n : do not continue. The default behaviour is to download only the files which are not yet download or where the checksum does not match with the file. This flag disables this feature, and it will force download existing files, and assigning a new name to the files (e.g. file(1).ext )
Remark for batch processing: the program always exits with non-zero exit code, if any error has happened, for instance, checksum mismatch, download error, time-out, etc. Only perfectly correct downloads end with 0 exit code.
报错了,就重新运行即可,速度还可以,比wget快多了!
如何引用?
zenodo_get --cite
方法二
命令:
wget https://zenodo.org/record/<record_number>/files/<file_name>
#其中,<record_number>是Zenodo记录的编号,而<file_name>是您要下载的文件的名称。
#例如,如果您要下载编号为5524218的记录中的文件data.txt,请使用以下命令:
#wget https://zenodo.org/record/5524218/files/data.txt
#如果您想将文件保存到特定目录中,请使用以下命令:
wget https://zenodo.org/record/5524218/files/data.txt -P /path/to/directory
#其中,/path/to/directory是您想要将文件保存到的目录的路径。
nohup wget -c https://zenodo.org/record/10782711/files/adata_vis_human_spatial_paper.h5ad ./ &
https://github.com/dvolgyes/zenodo_get
https://blog.csdn.net/qq_52813185/article/details/128993280#:~:text=%E6%82%A8%E5%8F%AF%E4%BB%A5%E4%BD%BF%E7%94%A8%E4%BB%A5%E4%B8%8B%E5%91%BD%E4%BB%A4%E4%BD%BF%E7%94%A8wget%E4%B8%8B%E8%BD%BDZenodo%E4%B8%AD%E7%9A%84%E6%95%B0%E6%8D%AE%EF%BC%9A%20bashCopy%20code%20wget%20https%3A%2F%2Fzenodo.org%2Frecord%2F%3Crecord_number%3E%2Ffiles%2F%3Cfile_name%3E,%E5%85%B6%E4%B8%AD%EF%BC%8C%20%3Crecord_number%3E%20%E6%98%AFZenodo%E8%AE%B0%E5%BD%95%E7%9A%84%E7%BC%96%E5%8F%B7%EF%BC%8C%E8%80%8C%20%3Cfile_name%3E%20%E6%98%AF%E6%82%A8%E8%A6%81%E4%B8%8B%E8%BD%BD%E7%9A%84%E6%96%87%E4%BB%B6%E7%9A%84%E5%90%8D%E7%A7%B0%E3%80%82