Page 2 of 3

wget

Posted: 07 Nov 2017, 02:37
by Jack
Here is what happen.

Code: Select all

guest@porteus:~/Downloads$ wget -r -l1 -A.txz -i ./mate.txt
--2017-11-06 21:35:01--  http://caja-1.19.2-x86_64-1_msb.txz/
Resolving caja-1.19.2-x86_64-1_msb.txz (caja-1.19.2-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘caja-1.19.2-x86_64-1_msb.txz’
--2017-11-06 21:35:02--  http://engrampa-1.19.1-x86_64-1_msb.txz/
Resolving engrampa-1.19.1-x86_64-1_msb.txz (engrampa-1.19.1-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘engrampa-1.19.1-x86_64-1_msb.txz’
--2017-11-06 21:35:02--  http://eom-1.19.1-x86_64-1_msb.txz/
Resolving eom-1.19.1-x86_64-1_msb.txz (eom-1.19.1-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘eom-1.19.1-x86_64-1_msb.txz’
--2017-11-06 21:35:02--  http://libmatekbd-1.19.0-x86_64-1_msb.txz/
Resolving libmatekbd-1.19.0-x86_64-1_msb.txz (libmatekbd-1.19.0-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘libmatekbd-1.19.0-x86_64-1_msb.txz’
--2017-11-06 21:35:02--  http://libmatemixer-1.19.0-x86_64-1_msb.txz/
Resolving libmatemixer-1.19.0-x86_64-1_msb.txz (libmatemixer-1.19.0-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘libmatemixer-1.19.0-x86_64-1_msb.txz’
--2017-11-06 21:35:02--  http://libmateweather-1.19.1-x86_64-1_msb.txz/
Resolving libmateweather-1.19.1-x86_64-1_msb.txz (libmateweather-1.19.1-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘libmateweather-1.19.1-x86_64-1_msb.txz’
--2017-11-06 21:35:02--  http://marco-1.19.1-x86_64-1_msb.txz/
Resolving marco-1.19.1-x86_64-1_msb.txz (marco-1.19.1-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘marco-1.19.1-x86_64-1_msb.txz’
--2017-11-06 21:35:02--  http://mate-backgrounds-1.19.0-noarch-1_msb.txz/
Resolving mate-backgrounds-1.19.0-noarch-1_msb.txz (mate-backgrounds-1.19.0-noarch-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘mate-backgrounds-1.19.0-noarch-1_msb.txz’
--2017-11-06 21:35:02--  http://mate-common-1.19.0-x86_64-1_msb.txz/
Resolving mate-common-1.19.0-x86_64-1_msb.txz (mate-common-1.19.0-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘mate-common-1.19.0-x86_64-1_msb.txz’
--2017-11-06 21:35:03--  http://mate-control-center-1.19.1-x86_64-1_msb.txz/
Resolving mate-control-center-1.19.1-x86_64-1_msb.txz (mate-control-center-1.19.1-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘mate-control-center-1.19.1-x86_64-1_msb.txz’
--2017-11-06 21:35:03--  http://mate-desktop-1.19.1-x86_64-1_msb.txz/
Resolving mate-desktop-1.19.1-x86_64-1_msb.txz (mate-desktop-1.19.1-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘mate-desktop-1.19.1-x86_64-1_msb.txz’
--2017-11-06 21:35:03--  http://mate-icon-theme-1.19.0-noarch-1_msb.txz/
Resolving mate-icon-theme-1.19.0-noarch-1_msb.txz (mate-icon-theme-1.19.0-noarch-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘mate-icon-theme-1.19.0-noarch-1_msb.txz’
--2017-11-06 21:35:03--  http://mate-media-1.19.1-x86_64-1_msb.txz/
Resolving mate-media-1.19.1-x86_64-1_msb.txz (mate-media-1.19.1-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘mate-media-1.19.1-x86_64-1_msb.txz’
--2017-11-06 21:35:03--  http://mate-menus-1.19.0-x86_64-1_msb.txz/
Resolving mate-menus-1.19.0-x86_64-1_msb.txz (mate-menus-1.19.0-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘mate-menus-1.19.0-x86_64-1_msb.txz’
--2017-11-06 21:35:03--  http://mate-notification-daemon-1.19.0-x86_64-1_msb.txz/
Resolving mate-notification-daemon-1.19.0-x86_64-1_msb.txz (mate-notification-daemon-1.19.0-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘mate-notification-daemon-1.19.0-x86_64-1_msb.txz’
--2017-11-06 21:35:03--  http://mate-panel-1.19.3-x86_64-1_msb.txz/
Resolving mate-panel-1.19.3-x86_64-1_msb.txz (mate-panel-1.19.3-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘mate-panel-1.19.3-x86_64-1_msb.txz’
--2017-11-06 21:35:03--  http://mate-polkit-1.19.0-x86_64-1_msb.txz/
Resolving mate-polkit-1.19.0-x86_64-1_msb.txz (mate-polkit-1.19.0-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘mate-polkit-1.19.0-x86_64-1_msb.txz’
--2017-11-06 21:35:03--  http://mate-power-manager-1.19.0-x86_64-1_msb.txz/
Resolving mate-power-manager-1.19.0-x86_64-1_msb.txz (mate-power-manager-1.19.0-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘mate-power-manager-1.19.0-x86_64-1_msb.txz’
--2017-11-06 21:35:04--  http://mate-screensaver-1.19.0-x86_64-1_msb.txz/
Resolving mate-screensaver-1.19.0-x86_64-1_msb.txz (mate-screensaver-1.19.0-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘mate-screensaver-1.19.0-x86_64-1_msb.txz’
--2017-11-06 21:35:04--  http://mate-session-manager-1.19.1-x86_64-1_msb.txz/
Resolving mate-session-manager-1.19.1-x86_64-1_msb.txz (mate-session-manager-1.19.1-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘mate-session-manager-1.19.1-x86_64-1_msb.txz’
--2017-11-06 21:35:04--  http://mate-settings-daemon-1.19.0-x86_64-1_msb.txz/
Resolving mate-settings-daemon-1.19.0-x86_64-1_msb.txz (mate-settings-daemon-1.19.0-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘mate-settings-daemon-1.19.0-x86_64-1_msb.txz’
--2017-11-06 21:35:04--  http://mate-system-monitor-1.19.0-x86_64-1_msb.txz/
Resolving mate-system-monitor-1.19.0-x86_64-1_msb.txz (mate-system-monitor-1.19.0-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘mate-system-monitor-1.19.0-x86_64-1_msb.txz’
--2017-11-06 21:35:04--  http://mate-terminal-1.19.0-x86_64-1_msb.txz/
Resolving mate-terminal-1.19.0-x86_64-1_msb.txz (mate-terminal-1.19.0-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘mate-terminal-1.19.0-x86_64-1_msb.txz’
--2017-11-06 21:35:04--  http://mate-themes-3.22.14-noarch-1_msb.txz/
Resolving mate-themes-3.22.14-noarch-1_msb.txz (mate-themes-3.22.14-noarch-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘mate-themes-3.22.14-noarch-1_msb.txz’
--2017-11-06 21:35:04--  http://gksu-2.0.2-x86_64-2_msb.txz/
Resolving gksu-2.0.2-x86_64-2_msb.txz (gksu-2.0.2-x86_64-2_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘gksu-2.0.2-x86_64-2_msb.txz’
--2017-11-06 21:35:04--  http://glade-3.20.1-x86_64-1_msb.txz/
Resolving glade-3.20.1-x86_64-1_msb.txz (glade-3.20.1-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘glade-3.20.1-x86_64-1_msb.txz’
--2017-11-06 21:35:04--  http://graphviz-2.40.1-x86_64-1_msb.txz/
Resolving graphviz-2.40.1-x86_64-1_msb.txz (graphviz-2.40.1-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘graphviz-2.40.1-x86_64-1_msb.txz’
--2017-11-06 21:35:04--  http://gssdp-1.0.2-x86_64-1_msb.txz/
Resolving gssdp-1.0.2-x86_64-1_msb.txz (gssdp-1.0.2-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘gssdp-1.0.2-x86_64-1_msb.txz’
--2017-11-06 21:35:04--  http://gtk-engines-2.21.0-x86_64-1_msb.txz/
Resolving gtk-engines-2.21.0-x86_64-1_msb.txz (gtk-engines-2.21.0-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘gtk-engines-2.21.0-x86_64-1_msb.txz’
--2017-11-06 21:35:04--  http://gtksourceview3-3.24.5-x86_64-1_msb.txz/
Resolving gtksourceview3-3.24.5-x86_64-1_msb.txz (gtksourceview3-3.24.5-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘gtksourceview3-3.24.5-x86_64-1_msb.txz’
--2017-11-06 21:35:04--  http://gupnp-1.0.2-x86_64-1_msb.txz/
Resolving gupnp-1.0.2-x86_64-1_msb.txz (gupnp-1.0.2-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘gupnp-1.0.2-x86_64-1_msb.txz’
--2017-11-06 21:35:04--  http://libgksu-2.0.12-x86_64-3_msb.txz/
Resolving libgksu-2.0.12-x86_64-3_msb.txz (libgksu-2.0.12-x86_64-3_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘libgksu-2.0.12-x86_64-3_msb.txz’
--2017-11-06 21:35:05--  http://libgtop-2.38.0-x86_64-1_msb.txz/
Resolving libgtop-2.38.0-x86_64-1_msb.txz (libgtop-2.38.0-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘libgtop-2.38.0-x86_64-1_msb.txz’
--2017-11-06 21:35:05--  http://libgxps-0.3.0-x86_64-1_msb.txz/
Resolving libgxps-0.3.0-x86_64-1_msb.txz (libgxps-0.3.0-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘libgxps-0.3.0-x86_64-1_msb.txz’
--2017-11-06 21:35:05--  http://libpeas-1.22.0-x86_64-1_msb.txz/
Resolving libpeas-1.22.0-x86_64-1_msb.txz (libpeas-1.22.0-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘libpeas-1.22.0-x86_64-1_msb.txz’
--2017-11-06 21:35:05--  http://libunique-1.1.6-x86_64-2_msb.txz/
Resolving libunique-1.1.6-x86_64-2_msb.txz (libunique-1.1.6-x86_64-2_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘libunique-1.1.6-x86_64-2_msb.txz’
--2017-11-06 21:35:05--  http://libunique3-3.0.2-x86_64-1_msb.txz/
Resolving libunique3-3.0.2-x86_64-1_msb.txz (libunique3-3.0.2-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘libunique3-3.0.2-x86_64-1_msb.txz’
--2017-11-06 21:35:05--  http://libwnck3-3.24.1-x86_64-1_msb.txz/
Resolving libwnck3-3.24.1-x86_64-1_msb.txz (libwnck3-3.24.1-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘libwnck3-3.24.1-x86_64-1_msb.txz’
--2017-11-06 21:35:06--  http://murrine-0.98.2-x86_64-1_msb.txz/
Resolving murrine-0.98.2-x86_64-1_msb.txz (murrine-0.98.2-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘murrine-0.98.2-x86_64-1_msb.txz’
--2017-11-06 21:35:06--  http://pangox-compat-0.0.2-x86_64-1_msb.txz/
Resolving pangox-compat-0.0.2-x86_64-1_msb.txz (pangox-compat-0.0.2-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘pangox-compat-0.0.2-x86_64-1_msb.txz’
--2017-11-06 21:35:06--  http://rarian-0.8.1-x86_64-2_msb.txz/
Resolving rarian-0.8.1-x86_64-2_msb.txz (rarian-0.8.1-x86_64-2_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘rarian-0.8.1-x86_64-2_msb.txz’
--2017-11-06 21:35:06--  http://vala-0.38.2-x86_64-1_msb.txz/
Resolving vala-0.38.2-x86_64-1_msb.txz (vala-0.38.2-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘vala-0.38.2-x86_64-1_msb.txz’
--2017-11-06 21:35:06--  http://yelp-tools-3.18.0-x86_64-1_msb.txz/
Resolving yelp-tools-3.18.0-x86_64-1_msb.txz (yelp-tools-3.18.0-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘yelp-tools-3.18.0-x86_64-1_msb.txz’
--2017-11-06 21:35:06--  http://yelp-xsl-3.20.1-x86_64-1_msb.txz/
Resolving yelp-xsl-3.20.1-x86_64-1_msb.txz (yelp-xsl-3.20.1-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘yelp-xsl-3.20.1-x86_64-1_msb.txz’
--2017-11-06 21:35:06--  http://zenity-3.24.0-x86_64-1_msb.txz/
Resolving zenity-3.24.0-x86_64-1_msb.txz (zenity-3.24.0-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘zenity-3.24.0-x86_64-1_msb.txz’
--2017-11-06 21:35:06--  http://atril-1.19.4-x86_64-1_msb.txz/
Resolving atril-1.19.4-x86_64-1_msb.txz (atril-1.19.4-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘atril-1.19.4-x86_64-1_msb.txz’
--2017-11-06 21:35:06--  http://caja-actions-1.8.2-x86_64-1_msb.txz/
Resolving caja-actions-1.8.2-x86_64-1_msb.txz (caja-actions-1.8.2-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘caja-actions-1.8.2-x86_64-1_msb.txz’
--2017-11-06 21:35:06--  http://caja-dropbox-1.18.0-x86_64-1_msb.txz/
Resolving caja-dropbox-1.18.0-x86_64-1_msb.txz (caja-dropbox-1.18.0-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘caja-dropbox-1.18.0-x86_64-1_msb.txz’
--2017-11-06 21:35:06--  http://caja-extensions-1.19.0-x86_64-1_msb.txz/
Resolving caja-extensions-1.19.0-x86_64-1_msb.txz (caja-extensions-1.19.0-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘caja-extensions-1.19.0-x86_64-1_msb.txz’
--2017-11-06 21:35:06--  http://mate-applets-1.19.2-x86_64-1_msb.txz/
Resolving mate-applets-1.19.2-x86_64-1_msb.txz (mate-applets-1.19.2-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘mate-applets-1.19.2-x86_64-1_msb.txz’
--2017-11-06 21:35:06--  http://mate-calc-1.19.0-x86_64-1_msb.txz/
Resolving mate-calc-1.19.0-x86_64-1_msb.txz (mate-calc-1.19.0-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘mate-calc-1.19.0-x86_64-1_msb.txz’
--2017-11-06 21:35:07--  http://mate-icon-theme-faenza-1.19.0-noarch-1_msb.txz/
Resolving mate-icon-theme-faenza-1.19.0-noarch-1_msb.txz (mate-icon-theme-faenza-1.19.0-noarch-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘mate-icon-theme-faenza-1.19.0-noarch-1_msb.txz’
--2017-11-06 21:35:07--  http://mate-sensors-applet-1.19.0-x86_64-1_msb.txz/
Resolving mate-sensors-applet-1.19.0-x86_64-1_msb.txz (mate-sensors-applet-1.19.0-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘mate-sensors-applet-1.19.0-x86_64-1_msb.txz’
--2017-11-06 21:35:07--  http://mate-utils-1.19.0-x86_64-1_msb.txz/
Resolving mate-utils-1.19.0-x86_64-1_msb.txz (mate-utils-1.19.0-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘mate-utils-1.19.0-x86_64-1_msb.txz’
--2017-11-06 21:35:07--  http://mozo-1.19.0-x86_64-1_msb.txz/
Resolving mozo-1.19.0-x86_64-1_msb.txz (mozo-1.19.0-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘mozo-1.19.0-x86_64-1_msb.txz’
--2017-11-06 21:35:07--  http://pluma-1.19.2-x86_64-1_msb.txz/
Resolving pluma-1.19.2-x86_64-1_msb.txz (pluma-1.19.2-x86_64-1_msb.txz)... failed: Name or service not known.
wget: unable to resolve host address ‘pluma-1.19.2-x86_64-1_msb.txz’
guest@porteus:~/Downloads$ 
I think I will do it this way.

Code: Select all

Mate Files
wget -r -l1 -A.tgz,txz,xzm http://slackware.uk/msb/current/1.19/x86_64/base
wget -r -l1 -A.tgz,txz,xzm http://slackware.uk/msb/current/1.19/x86_64/deps
wget -r -l1 -A.tgz,txz,xzm http://slackware.uk/msb/current/1.19/x86_64/extra

wget

Posted: 07 Nov 2017, 02:45
by donald
must be something wrong with your txt file
it should look like

Code: Select all

guest@porteus:~/Downloads$ cat ./list.txt
http://slackware.uk/msb/current/1.19/x86_64/base
http://slackware.uk/msb/current/1.19/x86_64/deps
http://slackware.uk/msb/current/1.19/x86_64/extra
and name it list.txt

wget

Posted: 07 Nov 2017, 02:50
by Jack
This what happen.

Code: Select all

guest@porteus:~/Downloads$ cat ./mate.txt
caja-1.19.2-x86_64-1_msb.txz
engrampa-1.19.1-x86_64-1_msb.txz
eom-1.19.1-x86_64-1_msb.txz
libmatekbd-1.19.0-x86_64-1_msb.txz
libmatemixer-1.19.0-x86_64-1_msb.txz
libmateweather-1.19.1-x86_64-1_msb.txz
marco-1.19.1-x86_64-1_msb.txz
mate-backgrounds-1.19.0-noarch-1_msb.txz
mate-common-1.19.0-x86_64-1_msb.txz
mate-control-center-1.19.1-x86_64-1_msb.txz
mate-desktop-1.19.1-x86_64-1_msb.txz
mate-icon-theme-1.19.0-noarch-1_msb.txz
mate-media-1.19.1-x86_64-1_msb.txz
mate-menus-1.19.0-x86_64-1_msb.txz
mate-notification-daemon-1.19.0-x86_64-1_msb.txz
mate-panel-1.19.3-x86_64-1_msb.txz
mate-polkit-1.19.0-x86_64-1_msb.txz
mate-power-manager-1.19.0-x86_64-1_msb.txz
mate-screensaver-1.19.0-x86_64-1_msb.txz
mate-session-manager-1.19.1-x86_64-1_msb.txz
mate-settings-daemon-1.19.0-x86_64-1_msb.txz
mate-system-monitor-1.19.0-x86_64-1_msb.txz
mate-terminal-1.19.0-x86_64-1_msb.txz
mate-themes-3.22.14-noarch-1_msb.txz
gksu-2.0.2-x86_64-2_msb.txz
glade-3.20.1-x86_64-1_msb.txz
graphviz-2.40.1-x86_64-1_msb.txz
gssdp-1.0.2-x86_64-1_msb.txz
gtk-engines-2.21.0-x86_64-1_msb.txz
gtksourceview3-3.24.5-x86_64-1_msb.txz
gupnp-1.0.2-x86_64-1_msb.txz
libgksu-2.0.12-x86_64-3_msb.txz
libgtop-2.38.0-x86_64-1_msb.txz
libgxps-0.3.0-x86_64-1_msb.txz
libpeas-1.22.0-x86_64-1_msb.txz
libunique-1.1.6-x86_64-2_msb.txz
libunique3-3.0.2-x86_64-1_msb.txz
libwnck3-3.24.1-x86_64-1_msb.txz
murrine-0.98.2-x86_64-1_msb.txz
pangox-compat-0.0.2-x86_64-1_msb.txz
rarian-0.8.1-x86_64-2_msb.txz
vala-0.38.2-x86_64-1_msb.txz
yelp-tools-3.18.0-x86_64-1_msb.txz
yelp-xsl-3.20.1-x86_64-1_msb.txz
zenity-3.24.0-x86_64-1_msb.txz
atril-1.19.4-x86_64-1_msb.txz
caja-actions-1.8.2-x86_64-1_msb.txz
caja-dropbox-1.18.0-x86_64-1_msb.txz
caja-extensions-1.19.0-x86_64-1_msb.txz
mate-applets-1.19.2-x86_64-1_msb.txz
mate-calc-1.19.0-x86_64-1_msb.txz
mate-icon-theme-faenza-1.19.0-noarch-1_msb.txz
mate-sensors-applet-1.19.0-x86_64-1_msb.txz
mate-utils-1.19.0-x86_64-1_msb.txz
mozo-1.19.0-x86_64-1_msb.txz
pluma-1.19.2-x86_64-1_msb.txz
guest@porteus:~/Downloads$ 

wget

Posted: 07 Nov 2017, 02:54
by donald
Create a file named list.txt
and copy only the 3 URL's into it.

wget

Posted: 07 Nov 2017, 03:03
by Jack
I relook at my problem and now it work. Thanks Donald for all your help.

I like to do one where you pick which files you want but might be harder to do. Where you make a file list and use wget with the file list you make to download from. Any idea on that?

wget

Posted: 07 Nov 2017, 03:20
by donald
maybe tomorrow - it's 4.15 am - i need some sleep......Zzzzzz.....

wget

Posted: 07 Nov 2017, 03:24
by Jack
Me to I have to go to the Doctor tomorrow

wget

Posted: 07 Nov 2017, 17:43
by Ed_P
How do you plan to keep all these files you download updated Jack?

wget

Posted: 07 Nov 2017, 18:13
by Jack
Never thought of that do you have any idea?

wget

Posted: 08 Nov 2017, 06:21
by donald
Jack wrote:
07 Nov 2017, 03:03
I like to do one where you pick which files you want... Where you make a file list and use wget with the file list you make to download from. Any idea on that?
If you know the base URL is always going to be the same you can specify
the following in the input file:
name of File1
name of File2
name of File3
...........

You can then provide the base URL as part of the wget command
Example:

Code: Select all

wget -r -l1 -B http://slackware.uk/msb/current/1.19/x86_64/base/ -i ./filename.txt
unfortunately wildcards are not supported - you need to know the correct filenames.

wget

Posted: 08 Nov 2017, 16:26
by Jack
Donald, Thanks for all your help with wget.
donald wrote:
07 Nov 2017, 02:00
:)
I do use a "list.txt" file then.
A simple txt file containing the URL's

Code: Select all

http://slackware.uk/msb/current/1.19/x86_64/base
http://slackware.uk/msb/current/1.19/x86_64/deps
http://slackware.uk/msb/current/1.19/x86_64/extra
and passed it on to wget

Code: Select all

guest@porteus:~/Downloads$ wget -r -l1 -A.txz -i ./list.txt
donald wrote:
08 Nov 2017, 06:21
Jack wrote:
07 Nov 2017, 03:03
I like to do one where you pick which files you want... Where you make a file list and use wget with the file list you make to download from. Any idea on that?
If you know the base URL is always going to be the same you can specify
the following in the input file:
name of File1
name of File2
name of File3
...........

You can then provide the base URL as part of the wget command
Example:

Code: Select all

wget -r -l1 -B http://slackware.uk/msb/current/1.19/x86_64/base/ -i ./filename.txt
unfortunately wildcards are not supported - you need to know the correct filenames.
Now is there away to use these together or not? If not that is OK.

wget

Posted: 08 Nov 2017, 18:38
by Blaze
For example I want to download brscan-0.2.4-0.amd64.deb

Code: Select all

wget http://www.brother.com/pub/bsc/linux/dlf/brscan-0.2.4-0.amd64.deb
but after some time version of this package can updated in this repository and I will don't know version of brscan

Code: Select all

wget http://www.brother.com/pub/bsc/linux/dlf/brscan-*.amd64.deb
this construction does not work for me - 404 Not Found
I have one question. How I can download file via wget, curl or something, if I know url without version of package (It's possible to realize or not)? Thx.

wget

Posted: 08 Nov 2017, 22:34
by donald
@ Jack
If you want to download only files specified in a "filename.txt" from the 3 different locations (base,deps and extra)
you can put the 3 commands in one row separated by a semicolon.

Code: Select all

wget -r -B http://slackware.uk/msb/current/1.19/x86_64/base/ -i ./filename.txt;wget -r -B http://slackware.uk/msb/current/1.19/x86_64/deps/ -i ./filename.txt;wget -r -B http://slackware.uk/msb/current/1.19/x86_64/extra/ -i ./filename.txt
Bear in mind, if the name of the file(s) is not correct - the versions may have changed - you wouldn't get the (new) files.

imo better than using a file(s) list would be to download them all with

Code: Select all

wget -r -l1 -A.txz http://slackware.uk/msb/current/1.19/x86_64/base/
(.../deps/ .../extra/)

and then running

Code: Select all

wget -r -l1 -A.txz -nc http://slackware.uk/msb/current/1.19/x86_64/base/
(.../deps/ .../extra/)
from time to time to fetch new files (existing ones wouldn't be downloaded again)


@ Blaze
nope, wildcards are not supported - you need the correct name.
everything else seems to be forbidden at "brother's" like

Code: Select all

wget --spider -r -l1 -nv -A.<filetype> <URL> -o ./test.txt
to determine the (new) filename..(error 403 forbidden) :(

wget

Posted: 09 Nov 2017, 00:17
by Jack
Thank you very much Donald. You have help me a lot and this way might be better way to do it.
imo better than using a file(s) list would be to download them all with

Code: Select all

wget -r -l1 -A.txz http://slackware.uk/msb/current/1.19/x86_64/base/
(.../deps/ .../extra/)

and then running

Code: Select all

wget -r -l1 -A.txz -nc http://slackware.uk/msb/current/1.19/x86_64/base/

(.../deps/ .../extra/)
from time to time to fetch new files (existing ones wouldn't be downloaded again)

wget

Posted: 12 Nov 2017, 03:38
by Jack
@ donald,

Will this work and this is a thought. I did this wget -- help and was looking at the options of it.

Code: Select all

wget -r -l1 -A.txz -nc -i ./list.txt
The list.txt you told me about it in another message.