赞
踩
在下载清华大学chatglm所使用的广告数据集AdGen时,采用以下指令,下载失败。
>wget -O AdGen.tar.gz https://cloud.tsinghua.edu.cn/f/b3f119a008264b1cabd1/?dl=1
zsh: no matches found: https://cloud.tsinghua.edu.cn/f/b3f119a008264b1cabd1/?dl=1
原因是链接中包含"?"符号,给链接加上双引号后,问题解决。
>wget -O AdGen.tar.gz "https://cloud.tsinghua.edu.cn/f/b3f119a008264b1cabd1/?dl=1" --2023-07-17 15:49:03-- https://cloud.tsinghua.edu.cn/f/b3f119a008264b1cabd1/?dl=1 Resolving cloud.tsinghua.edu.cn (cloud.tsinghua.edu.cn)... 2402:f000:1:406:166:111:6:101, 166.111.6.101 Connecting to cloud.tsinghua.edu.cn (cloud.tsinghua.edu.cn)|2402:f000:1:406:166:111:6:101|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://cloud.tsinghua.edu.cn/seafhttp/files/fa244512-afe5-4d56-8fea-8ce3b6001507/AdvertiseGen.tar.gz [following] --2023-07-17 15:49:03-- https://cloud.tsinghua.edu.cn/seafhttp/files/fa244512-afe5-4d56-8fea-8ce3b6001507/AdvertiseGen.tar.gz Reusing existing connection to [cloud.tsinghua.edu.cn]:443. HTTP request sent, awaiting response... 200 OK Length: 17069994 (16M) [application/octet-stream] Saving to: 'AdGen.tar.gz' AdGen.tar.gz 100%[=================================================================================>] 16.28M 25.9MB/s in 0.6s 2023-07-17 15:49:04 (25.9 MB/s) - 'AdGen.tar.gz' saved [17069994/17069994]
这样下载了AdGen.tar.gz到本地,使用以下指令解压:
tar -zxvf file.tar.gz -C /path/to/destination/
下载完成!
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。