Skip to main content

Thread: strange wget behavior bash script


i created script download iso files.

script:

code:
#!/bin/bash lynx -dump http://www.mydownloadsite.com/downloads.htm | egrep -o http://www.mydownloadsite.com/images/iso_.*[a-z].iso | xargs -n1 wget -d -p ~/downloads/iso/ -u¨
everytime run script wget starts downloading first iso hangs after downloading 2% (not everytime same amount of bytes).

when use same wget commandline directly, goes fine. checked download in different ways, server sided seems ok.

when running script root, same behavior.

fixed.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] strange wget behavior bash script


Ubuntu

Comments

Popular posts from this blog

Hur installera Joomla på One.com - Joomla! Forum - community, help and support

removing index.php from URL address - Joomla! Forum - community, help and support

「イメージマップのアンカー名には、...」のエラーが出ないようにしたい