02-17-2008
You'll need to escape the url as it contains ? and & characters, both of which the shell will try and interpret.
Put the url in single quotes and you should get a bit closer.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I need a Shell script that will download a text file every second from a http server using wget.
Can anyone provide me any pointers or sample scripts that will help me go about this task ???
regards
techie (1 Reply)
Discussion started by: techie82
1 Replies
2. Shell Programming and Scripting
Hi All
I want to download srs8.3.0.1.standard.linux24_EM64T.tar.gz file from the following website :
http://downloads.biowisdomsrs.com/srs83_dist/
But this website contains lots of zipped files
I want to download the above file only discarding other zipped files.
When I am trying the... (1 Reply)
Discussion started by: alphasahoo
1 Replies
3. UNIX and Linux Applications
I need to download the following srs8.3.0.1.standard.linux26_32.tar.gz file from the following website:
http://downloads.biowisdomsrs.com/srs83_dist
There are many gzip files along with the above one in the above site but I want to download the srs8.3.0.1.standard.linux26_32.tar.gz only from... (1 Reply)
Discussion started by: alphasahoo
1 Replies
4. Shell Programming and Scripting
Hi,
I want to download some online data using wget command and write the contents to a file.
For example this is the URL i want to download and store it in a file called "results.txt".
#This is the URL.
$url="http://www.example.com";
#retrieve data and store in a file results.txt
... (3 Replies)
Discussion started by: vanitham
3 Replies
5. Shell Programming and Scripting
Ok, this is quite weird.
wget -r mysite.com/mylink/
should get all the files recursively from the 'mylink' folder.
The problem is that wget saves an index.html file!
When I open this index.html with my browser I realize that it shows all the files in the current folder (plus an option to move... (3 Replies)
Discussion started by: hakermania
3 Replies
6. Ubuntu
I am using ubuntu 10.04 LTS
I tried to download the file using wget , the file size is 105.00 MB, but wget downloads only around 44K.
may be I am using wget in wrong way, any suggestions please?
Below is the command I used and the response from system.
wget --tries=10 -nd -nH --use=user... (10 Replies)
Discussion started by: LinuxLearner
10 Replies
7. Shell Programming and Scripting
Hi
I need a Shell script that will download a zip file every second from a http server but i can't use neither curl nor wget.
Can anyone will help me go about this task ???
Thanks!! (1 Reply)
Discussion started by: rubber08
1 Replies
8. Shell Programming and Scripting
Hi
I am trying to download the file using wget command. But The password was created as pwd$$ for the user xyz. When i give the command as below it is not downloading the file. Will the password has $$ causing this issue.
wget... (0 Replies)
Discussion started by: ksmbabu
0 Replies
9. Shell Programming and Scripting
Hello all,
I want to write auto update script for my embedded device, which can check and download newer version of my program and extract the files on the device.
The download center is hosted on remote web server .
Script checks the hosted file on web site and if the new version is there... (8 Replies)
Discussion started by: stefki
8 Replies
10. Shell Programming and Scripting
Hi All,
I am trying to download a XML from a URL through wget and successful in that but the problem is that I have to check for some special characters inside that XML. But when I download through wget it transfers the content of the XML in plain text and I'm not able to search for those... (2 Replies)
Discussion started by: dips_ag
2 Replies
LEARN ABOUT DEBIAN
debpear
debpear(1) General Commands Manual debpear(1)
NAME
debpear - automatically builds and installs PEAR packages as Debian packages
SYNOPSIS
debpear [options] <pear-package-name>
DESCRIPTION
debpear is a tool to automatically create and build a Debian package out of a PHP PEAR package. It will download the PEAR package from
pear.php.net, then by looking into it, create the corresponding Debian package, and eventually also installs it.
PARAMETERS
<pear-package-name>
Defines the PEAR package name you want to install, as seen on the http://pear.php.net/ site. Make sure respect the case in the name
of the package (for example: Package_NAME).
OPTIONS
--build-dir|-b
Specify the directory where the Debian package will be built.
--verbose|-v
Makes debpear more verbose.
--channel|-c channel
Specify the URL channel of the PEAR package. Currently not implemented: please contribute!
--tarball|-t tarball --pkg-version|-pv pkg-version [ --wget|-w URL ]
Do not use "pear download" to optain the PEAR package from upstream authors. Instead, use tarball and use pkg-version when building
the package. Eventually also download the tarball from URL using wget before building.
--install|-i
Install the resulting debian package in your system. Note that you must be root to use this option. If you aren't root, then debpear
will try to get root using sudo.
EXAMPLE
debpear -i Auth_RADIUS
This will create a php-auth-radius package in ./build-area, and automatically install it. Because it's written in the package.xml
shipped with Auth_RADIUS at pear.php.net, php-auth-radius will depend on php5-radius.
debpear -t current.tgz -pv 1.3.1 -w http://downloads.jasig.org/cas-clients/php/current.tgz CAS
Downloads cas-clients from http://downloads.jasig.org/cas-clients/php/current.tgz, as current.tgz in the current directory, then
builds it as if it was downloaded as CAS-1.3.1.tgz by "pear download".
IMPORTANT
Note that the debian/copyright file generated by debpear isn't good enough for redistribution of the created packages. You should
carefuly review the PEAR package license before doing so. Also, debpear has been created for convenience, but it will never replace
the manual work of an experienced Debian maintainer for creating PEAR packages. It can, however, be used to create a template pack-
age quickly, before a careful review, in order to save time building a Debian PEAR package.
AUTHORS
debpear has been written by Thomas Goirand <zigo@debian.org>, and is maintained inside the PKG PHP PEAR Debian team, that can be
reached at: <pkg-php-pear@lists.alioth.debian.org>.
debpear(1)