如果我不想手动下载在特定url路径中找到的文件,我有哪些选项?使用通配符失败:
$ wget 'http://www.shinken-monitoring.org/pub/debian/*deb'
Warning: wildcards not supported in HTTP.
....当然,这假设我事先不知道文件名。
发布于 2011-08-17 13:49:04
试试这个:
wget -r -l1 --no-parent -A ".deb" http://www.shinken-monitoring.org/pub/debian/-r递归
最大深度为1的-l1
--no-parent忽略指向更高目录的链接
-A "*.deb"您的模式
https://unix.stackexchange.com/questions/18906
复制相似问题