wget - command-line utility to download content non-interactively.

learn more… | top users | synonyms

-1
votes
1answer
27 views

Webpage content - search for pattern & save to file

I have a web page, say https://test.salesforce.com. I would like to search for a pattern, e.g. "src" at the beginning of a line in the entire webpage content. If the pattern is found, I need to ...
2
votes
1answer
31 views

wget on the fly to extract specific info from file without downloading the entire file

I have some files (which are in .bam format(binary)) to download from a location. I can download them using wget and then want to extract some specific information from them only. For that I use ...
0
votes
0answers
30 views

Redirect with axel in linux

I am trying to download a file from googlevideo. This download link may expire in a few minutes but I will post everything I have. When I use axel with the following command, I get $ axel -n 10 ...
5
votes
3answers
343 views

command-line tool for a single download of a torrent (like wget or curl)

I'm interested in a single command that would download the contents of a torrent (and perhaps participate as a seed following the download, until I stop it). Usually, there is a torrent-client daemon ...
1
vote
1answer
23 views

Using date -1day with wget

I want to use wget with a cron to pull a file everyday however I want it to pull the previous days file from the remote server and the file is controlled by date variables in the URL as such: ...
0
votes
1answer
39 views

wget: force no default certificates

I'm having trouble with verification of custom server SSL certificates and wget. wget -O- --ca-certificate=myservercert.pem https://www.google.com This should fail but does not, as wget does ...
2
votes
1answer
43 views

Using wget, how to download to a specific location, without creating folders, and always overwrite original files

How do I use wget to download files to a specific location, without creating directories, and overwrite the original every time. I've tried using the -r -P and nc options in combination but this ...
2
votes
1answer
30 views

How to download a lot of documents on the terminal from a server?

I have to write a bash script (.sh) with less than 300 characters which downloads all of the genomes 22 in this server ftp://ftp.ncbi.nih.gov/genomes/Homo_sapiens/ (the ones with fa.gz extention) and ...
0
votes
1answer
108 views

bash cannot find mvn command after install

I tried to install Maven on CentOS 7, but afterwards typing mvn -version in the terminal results in bash: mvn: command not found.... How can I fix this so that I can call maven from the CentOS 7 ...
2
votes
1answer
56 views

Download a file to a server?

After ssh to a server, I want to download two files in https://iain.cx/src/ktmux/#download to the server. So for the first file ktmux_helper, I right click to find its link on my local computer, and ...
2
votes
2answers
86 views

Why wget cannot download page as root?

This is odd, I try to download a html file using wget wget --user=xxx --password=yyy http://192.168.1.1/ When I execute it as myself, it works, when I execute it as root it fails with message: ...
0
votes
2answers
56 views

How do you rename files specifically in a list that wget will use?

I have a file with a list of links to some youtube videos. When I run the command: wget -i list Everything works just fine, however wget is automatically renaming the files to the gibberish at ...
3
votes
4answers
599 views

tar a result of wget

I want to wget a file and tar it, in one command, I guess it is simple but I can't get it done. I tried several things. wget <url> | tar -cvz file.gz.tar - tar -cvzf file.tar `wget ...
5
votes
2answers
452 views

How can I download a file from a FTP server, then automatically delete it from the server once the download completes?

From the command line, I want to download a file from a FTP server. Once the download completes, I want the file to be deleted on the server. Is there any way to do this? Originally I considered ...
1
vote
1answer
38 views

Combine xargs argument with some text

How can I use xargs to pass an argument through to wget, but also add some text to that argument?
1
vote
1answer
21 views

remove the bit per bit log of wget

I have a php script that generates bash commands to wget files. I am trying to log wget activity using this: --directory-prefix='xxx' --append-output='xxx.txt' -c -t0 -S" But the log is too big due ...
0
votes
2answers
38 views

Filter hyperlinks from web page and download all that match a certain pattern

I wanted to download all graphic files from our organisation's graphics repository web page. They are Illustrator (.ai) format and Corel Draw (.cdr) format. They are directly hyperlinked (i.e. <a ...
0
votes
2answers
147 views

linux curl POST request not working

I am trying to make a POST request using curl to retrieve exam results from the page : result odd .... I am using the following syntax but various errors are showing up (like content has moved ...
0
votes
0answers
38 views

Re-download Corrupted Part of ISO

I have download an ISO file from one of the public FTP server. It took a lot of time to download the file because of my Internet Connection Issues. I used the wget command to download the ISO in ...
2
votes
1answer
174 views

CURL won't connect to self

I'm having a weird issue where CURL cannot connect to its own server. For example if I'm on server example.com wget https://example.com/ <--- WORKS FIND curl https://example.com gets error: 35 ...
3
votes
3answers
66 views

how to remove accidentally created '~' and '..'

I'm using wget to download some webpages and I used the -P option without knowing that it wouldn't expend .. or ~. So I found I've created them after running the program. Now the problem is, how do I ...
0
votes
2answers
64 views

Why doesn't wget -r get all FTP subdirectories?

When I did the command : wget -r ftp://user:paswword@ftp.xxxx.ovh.net/ It's missing any sub-sub-directories. Does recursive FTP have a limit?
0
votes
1answer
134 views

Download Forum Attachments

Is there a way to download forum jpeg image attachments, possibly using Wget or Curl or some other tool? I would like to download jpeg attachments from specific pages on forums. I'm not interested in ...
0
votes
2answers
112 views

Downloading images from csv file to a folder based on its id

I have a csv-file that looks like this (short example, there are actually about 20 images per id). ...
0
votes
0answers
77 views

wget not working but apt-get does

Although this question relates to Raspbian running on my Raspberry Pi, it feels like it is a more general Linux query.... The Pi is sat on a network which includes a Microsoft TMG server. I have ...
1
vote
1answer
97 views

wget -k doesn't convert all links

I am trying to mirror a complete website to another domain. I am trying to use wget -mk http://example.com However the -k option leaves some URLs original while other are converted such as: ...
2
votes
1answer
95 views

How do I securely download files in shell scripting?

I am writing some shell scripts to automatically download software packages off my server and set them up on customer servers. At some point within the script, the download command is wget ...
0
votes
0answers
21 views

How to keep directory structure with aria2?

I need to download files simultaneously- wget doesn't support that so I want to try aria2. But I don't see an option in aria2 to keep directory structure. Or maybe I should try another program?
2
votes
2answers
153 views

How to use wget to download certain files from a certain directory when the directory itself does not have an index.html?

There are a number of questions similar to this on StackExchange but none address this issue. More specifically I want to download all the pdf files in the 2007 directory at ...
0
votes
1answer
92 views

wget and preventing files from downloading on a recursive wget

I can use a command like wget -m -A.jpg http://www.mysite.tld/ but that will download every single file, then if it is not a jpg, it will delete the file, like this: `HTTP request sent, awaiting ...
-2
votes
2answers
104 views

Wget - Download pics with particular url string

Is there a Wget command that will allow me to download all jpegs that include the following url: http://www.sample.com/images/imag/ So all jpegs under that particular url will be downloaded, such as ...
2
votes
1answer
27 views

Multiple user credentials in wget

Using wget, is it possible to supply more than one user/password pair when mirroring a website that has multiple password-protected areas with different credentials? I would like to mirror an entire ...
0
votes
0answers
32 views

wget --exclude-directories not working for all

I am making a script for downloading a single file from a website. So I am trying to exclude the remaining directories. Here is it: #!/bin/bash grep -O '<a href=".*>'*html wget \ ...
2
votes
0answers
63 views

Wget: convert-links and avoid redownloading already fetched files?

I am downloading data spread among multiple files that don't change once published. Therefore --timestamping is not good enough, because it is constantly checking whatever resource is changed, which ...
1
vote
1answer
69 views

How to run Firefox in script-mode [duplicate]

I have a small problem. I want to save web pages using Firefoxs "SAVE" button and then click the "Next" button to the next page and save it. In total I need to store 1000 pages. Apparently I can't ...
0
votes
1answer
44 views

A small script about wget

I want to download an image file called mch_aktuell_gross_20141229_79514688.gif (basically a forecast gif) from www.meteoradar.ch Here is my script: #!/bin/bash wget \ --recursive \ ...
2
votes
3answers
66 views

Pipe files downloaded with wget into a function

I'm downloading a bunch of images with wget and I want to rm the files if they are empty with a function to which I can pass the file. My question is how do I pipe the images to a function like this: ...
3
votes
0answers
130 views

Multiple wget calls in a single session?

I have the following code to retrieve a page from a website that needs authentication (it uses Sungard Higher Education authentication): wget --delete-after --save-cookies cookies.txt ...
0
votes
1answer
323 views

wget 403 forbidden error on AWS

I'm not the most talented developer out there, and the question I'm asking may be basic, but I need some help:) I used wget to get source content from Seeking Alpha on my AWS server, and have been ...
0
votes
1answer
21 views

Excluding some php-pages but not others with wget?

I want to use wget to recursively download a website. The site contains articles served by a php-script, eg. www.example.com/article.php?id=1021&ch=5 - these are what I want, all separate article ...
1
vote
1answer
48 views

wget recursion problems

Is there any way to get wget to recursively download from one starting URL (including every prerequisites) and include other paths for which the same will be done? To make this clearer: The file ...
1
vote
0answers
207 views

wget resume download from dropbox gives can't write error

I want to resume download from dropbox using wget. I was downloading a file wget -O SQLyog.exe "https://www.dropbox.com/s/dfv2z0le0c2bo7z/SQLyog-9.3.3-0Trial.exe?dl=1" .......... Length: 15775640 ...
0
votes
1answer
227 views

What options does wget --report-speed take?

When I do this command: wget --report-speed=type they only type it accepts is bits. It won't have numbers, kilobits / kilobytes or bytes. The help page (wget --help) says: --report-speed=TYPE ...
1
vote
1answer
203 views

“wget --restrict-file-names=windows” seems to fail converting links for NTFS

I've downloaded a website from the net using the wget command-line tool with --restrict-file-names=windows so that once the download is complete I could copy the downloaded files to a mounted Windows ...
0
votes
1answer
28 views

Configure wget to ignore a specified domain, or treat it differently?

I'm using wget to mirror an old website with all of its --page-requisites. Unfortunately, one of the domains which used to serve some of these requisites - is now offline. Every time wget tries to get ...
1
vote
1answer
534 views

How do I put a time stamp with: wget --output-file=[FILENAME] [URL]

So I've been trying to put a timestamp on some images I'm downloading from a webcam, but so far it's been saving the images with the names camera3_date' here's my line that I enter: wget ...
0
votes
0answers
152 views

wget stops downloading: Cannot write to `-' (success)

Please have in mind that I don't know anything about this, nor any of its vocabulary, I am a simple web coder, trying to figure my way on the universe! I'm trying to link dropbox on my server, I am ...
0
votes
0answers
12 views

wget mirror site with images stored on other different domains [duplicate]

I'm trying to wget mirror of site atompunk: # wget -l 2 -c -m "http://atompunk.tumblr.com" For me, it take only index. I'm interesting in pictures which is stored on the other domains... How? ...
4
votes
2answers
321 views

Bash Script - Wget Graphical Download Progress

I'm trying to port this code from wget + zenity to wget + kdialog. The code with zenity: #!/bin/bash # Start wget | zenity # Note the & at the end of the pipe, this allows the script to continue ...
0
votes
1answer
312 views

wget: 401 Unauthorized

I want to download an entire website that is protected by NTLM but it fails with: HTTP-Anforderung gesendet, warte auf Antwort... 401 Unauthorized Unbekanntes Authentifizierungsschema. ...