04-19-2008
wget output question
Hello there,
İ want to ask a very simple question. I want to read the output messages of wget both in terminal and also put them into a text file.
i know that by using -o flag, i can log the messages into a text file but then i won't be able to see them on terminal.
I'd appreciate any help a lot!
10 More Discussions You Might Find Interesting
1. Programming
I am learning output the data to a file using "ofstream". I need to read data from a file and output the result to the other file in 2 different ways. To do that I have to provoke two functions, and they have to output the result to the same text file. My problem is: they are correct on the screen... (2 Replies)
Discussion started by: HOUSCOUS
2 Replies
2. Shell Programming and Scripting
Hi, I have a small question about the value cannot display correctly:
MSG=log
fruit=apple
print "No $fruit in the store" > "$MSG/fruit_message.txt"
output: No $fruit in the store
should be: No apple in the store
AND
$MSG/fruit_message.txt ----------> cannot find the... (5 Replies)
Discussion started by: happyv
5 Replies
3. Shell Programming and Scripting
Hi,
I need some guidance about wget. I am able to run the script as below;
which i have list of staff id in staffid.txt. But the problem is each staffid referred to the same txid ( in this case txid=123456). How i can insert unique txid for each staffid and run it?
Is it i need to... (3 Replies)
Discussion started by: malaysoul
3 Replies
4. Shell Programming and Scripting
I'm having a problem in retreiving a web page that I'm requires a user name * password and then I need to post some data.
I've used a screen scrapping program to figure out what data is required.
My question, can I use wget w/ the --http-user & --http-passwd flags along with --post-file or... (0 Replies)
Discussion started by: gseyforth
0 Replies
5. Shell Programming and Scripting
Can you tell me how to download the directory tree just starting from "project1/" in this URL?
"https://somesite.com/projects/t/project1/"
This command does not seem to do what I want as it downloads also files from the upper hierarchy:
wget --no-check-certificate --http-user=user... (4 Replies)
Discussion started by: majormark
4 Replies
6. Shell Programming and Scripting
Hi,
I'm trying to write a script to download RedHat's errata digest.
It comes in a txt.gz format, and i can get it easily with firefox.
HOWEVER: output is VERY strange when donwloading it in a script. It seems I'm getting a file of the same size - but partially text and partly binary! It... (5 Replies)
Discussion started by: jstilby
5 Replies
7. Shell Programming and Scripting
Hi,
I have a list of urls in my input.txt file like this
input.txt
http://unix.com/index.html?acc=OSR765454&file=filename1.gz
http://unix.com/index.html?acc=OBR765454&file=filename111.gz
http://unix.com/index.html?acc=ORS765454&file=filename1111.gz... (12 Replies)
Discussion started by: jacobs.smith
12 Replies
8. Shell Programming and Scripting
i use curl and wget quite often.
i set up alarms on their output. for instance, i would run a "wget" on a url and then search for certain strings within the output given by the "wget".
the problem is, i cant get the entire output or response of my wget/curl command to show up correctly in... (3 Replies)
Discussion started by: SkySmart
3 Replies
9. Shell Programming and Scripting
The below hides the messy commands of wget
#!/bin/bash
cd 'C:\Users\cmccabe\Desktop\wget'
wget -O getCSV.txt http://172.24.188.113/data/getCSV.csv
progressfilt ()
{
local flag=false c count cr=$'\r' nl=$'\n'
while IFS='' read -d '' -rn 1 c
do
if $flag
... (5 Replies)
Discussion started by: cmccabe
5 Replies
10. Shell Programming and Scripting
Hi,
I need to download a zip file from my the below US govt link.
https://www.sam.gov/SAMPortal/extractfiledownload?role=WW&version=SAM&filename=SAM_PUBLIC_MONTHLY_20160207.ZIP
I only have wget utility installed on the server.
When I use the below command, I am getting error 403... (2 Replies)
Discussion started by: Prasannag87
2 Replies
LEARN ABOUT DEBIAN
plucker-prc-install
plucker-prc-install(1) General Commands Manual plucker-prc-install(1)
NAME
plucker-prc-install - fetch and install Plucker viewer application on a Palm pilot
SYNOPSIS
plucker-prc-install [options]
DESCRIPTION
This manual page documents briefly the plucker-prc-install command. This manual page was written for the Debian distribution because this
program was created for the Debian package.
plucker-prc-install is a program that fetches and installs the Plucker viewer application.
The program uses wget to get the .tar.bz2 archive from the Web. You need to be connected to the Internet and have wget working correctly in
order to use this program. You may have to configure the environment variable http_proxy. You can take a look at the lynx command manpage
to get information about http_proxy.
The program tries to use the correct language version of the viewer according to the environment variable LANG.
The program then uses either gpilot-install-file or pilot-xfer to transfer the three .prc files to the Palm pilot.
With pilot-link 0.12.x it is mandatory to provide a port to use. plucker-prc-install first use the value of the PILOTPORT environment
variable. If PILOTPORT is not defined it uses /dev/pilot. If the file /dev/pilot does not exist it uses usb:.
OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
below.
--nohires
installs the low-resolution version of the Plucker viewer. If you are using a Palm with a 160x160 screen (Palm m500-series and ear-
lier) you can save approximately 90 KB by installing the low-resolution version of the viewer. Note that the hires version will
still work on older Palms, but will just take up unnecessary space.
-h, --help
Show summary of options.
-v, --version
Show version of program.
SEE ALSO
pilot-xfer(1), wget(1), gpilot-install-file(1), lynx(1).
AUTHOR
This manual page was written by Ludovic Rousseau <rousseau@debian.org>, for the Debian GNU/Linux system (but may be used by others).
August 22, 2005 plucker-prc-install(1)