Hi All,
I need to download with wget all files with "xml" extension for a specifix url say for instance https://www.example.com/xmlfiles/
I need to do this 3 times a day downloading just the new files added since last download and/or files that are changed from the last download. In order to do this i have used the following command :
I am successfully authenticate from the server but than I get
403 FORBIDDEN
If fo the following :
Than I can successfully download the file/s from the url.
Where is my mistake ?
P.s. I cannot use ftp but just https
Than I need to parse all the downloaded xml files extracting data into some csv file what will be the best way ?
Here in attachment you can find one of my xml files as well as the output csv ( here exported into xls because csv is not allowed) file that I need to abtain after parsing of xml.
Thank you in advance for your help and Merry Christmas to all.
Nino
Hi,
my email server is set up in a different machine which runs lineox enterprise 3.0. It exports /var/spool/mail to the sun server running solaris 9 and hence, all workstations nd users can access their mail.
but the problem is some users cannot open their mail at all. the error "mailer... (0 Replies)
Well, that's what I'd do in bash :) Here's what I have so far:
import urllib2
from BeautifulSoup import BeautifulStoneSoup
xml = urllib2.urlopen('http://weatherlink.com/xml.php?user=blah&pass=blah')
soup = BeautifulStoneSoup(xml)
print soup.prettify()
but all it does is grab the html... (0 Replies)
Hi All,
I'm stuck with adding multiple lines(irrespective of line number) to a file before a particular xml tag. Please help me.
<A>testing_Location</A>
<value>LA</value>
<zone>US</zone>
<B>Region</B>
<value>Russia</value>
<zone>Washington</zone>
<C>Country</C>... (0 Replies)
There is a perl scriptwhich will read Excel sheet and create one file(.v) .
Excel sheet:::
A B C D
1 cpu_dailog 2 3 4
Perl will create the file(.v) like thsi :::
assert (cpu_dailog_iso ==2) ;
assert (cpu_dailog_reset ==3);
assert (cpu_dailog_idle... (3 Replies)
I've got two different files and want to compare them.
File 1 :
HTML Code:
<response ticketId="944" type="getQueryResults"><status>COMPLETE</status><description>Query results fetched successfully</description><recordSet totalCount="1" type="sms_records"><record... (1 Reply)
Hi ,
I have a below xml:
<ns:Body>
<ns:result>
<Date Month="June" Day="Monday:/>
</ns:result>
</ns:Body>
i have a lookup abc.txtt text file with below details
Month June July August
Day Monday Tuesday Wednesday
I need a output xml with below tags
<ns:Body>
<ns:result>... (2 Replies)
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)
Hi,
I write a new thread to discuss about my closed topic with new information ( /280990-curl-post-form-issue.html )
The previous post was closed because of missing informations, I didn't have access yet to server logs.
----------------------------------------------------------------------... (4 Replies)
I want to write a one line script that outputs the result of multiple xml tags from a XML file. For example I have a XML file which has below XML tags in the file:
<EMAIL>***</EMAIL>
<CUSTOMER_ID>****</CUSTOMER_ID>
<BRANDID>***</BRANDID>
Now I want to grep the values of all these specified... (1 Reply)
I'm searching for the names of a TV show in the XML file I've attached at the end of this post. What I'm trying to do now is pull out/list the data from each of the <SeriesName> tags throughout the document. Currently, I'm only able to get data the first instance of that XML field using the... (9 Replies)
Discussion started by: hungryd
9 Replies
LEARN ABOUT DEBIAN
ketchup
KETCHUP(1) General Commands Manual KETCHUP(1)NAME
ketchup - Utility to update the kernel source
SYNOPSIS
ketchup [options] <ver>
DESCRIPTION
This tool synchronises a local kernel tree with a desired kernel version and patch set from a kernel.org mirror. The default requires a GPG
key on your keyring, to verify the identity of the patches and source archives. Entire kernel images are not downloaded unless necessary,
so bandwidth is saved. Patches are applied and removed as necessary to attain the requested version.
OPTIONS -a --archive (~/.ketchup)
cache directory
-d --directory (.)
directory to update
-f --full-tarball
if unpacking a tarball, download the latest
-g --gpg-path (/usr/bin/gpg)
path for GnuPG
-G --no-gpg
disable GPG signature verification
-k --kernel-url (http://www.kernel.org/pub/linux/kernel)
base url for kernel.org mirror
-l --list-trees
list supported trees
-m --show-makefile
output version in makefile <arg>
-n --dry-run
don't download or apply patches
-o --only-dl
don't apply patches
-p --show-previous
output version previous to <arg>
-q --quiet
reduce output
-r --rename-directory
rename updated directory to linux-<v>
-s --show-latest
output the latest version of <arg>
-u --show-url
output URL for <arg>
-w --wget (/usr/bin/wget)
command to use for wget
CONFIGURATION
Ketchup will read files named .ketchuprc in $HOME and in the target kernel directory, with the kernel directory taking precedence.
A .ketchuprc file uses the Python syntax and may set the following variables:
default_tree
The default_tree option specifies the kernel version to work with if one is not given on the command line.
precommand
The precommand option specifies a command to run before synchronising the kernel tree to the required version.
postcommand
The postcommand option specifies a command to run after synchronising the kernel tree to the required version.
AUTHOR
ketchup was written by Matt Mackall <mpm@selenic.com>.
This manual page was written by Baruch Even <baruch@debian.org>, for the Debian project (but may be used by others). Description text taken
from a former packaging attempt of Jack Wasey <debian@jackwasey.com>.
February 16, 2010 KETCHUP(1)