i am trying to ftp files/dirs with wget. i am having an issue where the path always takes me to my home dir even when i specify something else. For example:
wget -m ftp://USER:PASS@IP_ADDRESS/Path/on/remote/box
...but if that path on the remote box isn't in my home dir it doesn't change to... (0 Replies)
Hi Friends,
I have an url like this
https://www.unix.com/help/
In this help directory, I have more than 300 directories which contains file or files.
So, the 300 directories are like this
http://unix.com/help/
dir1
file1
dir2
file2
dir3
file3_1
file3_2... (4 Replies)
How can I download only *.zip and *.rar files from a website <index> who has multiple directories in root parent directory?
I need wget to crawl every directory and download only zip and rar files. Is there anyway I could do it? (7 Replies)
Can wget be used to goto a site and piped into a .gz extrated command?
wget ftp://ftp.ncbi.nlm.nih.gov/pub/clinvar/vcf_GRCh37 | gunzip -d clinvar_20150603.vcf.gz (1 Reply)
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)
Morning all,
I am attempting to complete the below script which will do the following (skip the ping part) using Bash.
Prompts the user to type in a URL to download, or to type exit to exit the script.
If a URL is typed, wget to download the webpage and then loop back to prompting for a... (2 Replies)
Discussion started by: Jgerds1990
2 Replies
LEARN ABOUT LINUX
update-smart-drivedb
UPDATE-SMART-DRIVEDB(8) SMART Monitoring Tools UPDATE-SMART-DRIVEDB(8)NAME
update-smart-drivedb - update smartmontools drive database
SYNOPSIS
update-smart-drivedb [OPTIONS] [DESTFILE]
DESCRIPTION
[This man page is generated for the Linux version of smartmontools. It does not contain info specific to other platforms.]
update-smart-drivedb updates /var/lib/smartmontools/drivedb/drivedb.h or DESTFILE from smartmontools SVN repository.
It tries to download first from the current branch and then from trunk. The tools used for downloading are either curl(1), wget(1),
lynx(1), or svn(1).
The old file is kept if the downloaded file is identical (ignoring the differences in Id string) otherwise it is moved to drivedb.h.old.
OPTIONS -s SMARTCTL
Use the smartctl(8) executable at path SMARTCTL for drive database syntax check. The form '-s -' disables the syntax check. The
default is /usr/sbin/smartctl.
-t TOOL
Use TOOL for download. TOOL is one of: curl wget lynx svn. The default is the first one found in PATH.
-u LOCATION
Use URL of LOCATION for download. LOCATION is one of:
sf (Sourceforge code browser via HTTPS),
svn (SVN repository via HTTPS),
svni (SVN repository via HTTP),
trac (Trac code browser via HTTPS).
The default is svn.
--cacert FILE
Use CA certificates from FILE to verify the peer.
--capath DIR
Use CA certificate files from DIR to verify the peer.
--insecure
Don't abort download if certificate verification fails. This option is also required if a HTTP URL is selected with '-u' option.
--dryrun
Print download commands only.
-v Verbose output.
EXAMPLES
# update-smart-drivedb
/var/lib/smartmontools/drivedb/drivedb.h updated from branches/RELEASE_6_6_DRIVEDB
EXIT STATUS
The exit status is 0 if the database has been successfully updated. If an error occurs the exit status is 1.
FILES
/usr/sbin/update-smart-drivedb
full path of this script.
/usr/sbin/smartctl
used to check syntax of new drive database.
/var/lib/smartmontools/drivedb/drivedb.h
current drive database.
/var/lib/smartmontools/drivedb/drivedb.h.old
previous drive database.
/var/lib/smartmontools/drivedb/drivedb.h.error
new drive database if rejected due to syntax errors.
/var/lib/smartmontools/drivedb/drivedb.h.lastcheck
empty file created if downloaded file was identical.
AUTHORS
Christian Franke.
This manual page was originally written by Hannes von Haugwitz <hannes@vonhaugwitz.com>.
REPORTING BUGS
To submit a bug report, create a ticket in smartmontools wiki:
<http://www.smartmontools.org/>.
Alternatively send the info to the smartmontools support mailing list:
<https://lists.sourceforge.net/lists/listinfo/smartmontools-support>.
SEE ALSO smartctl(8), smartd(8).
PACKAGE VERSION
smartmontools-6.6 2016-05-31 r4324
$Id: update-smart-drivedb.8.in 4223 2016-02-26 20:18:40Z chrfranke $
smartmontools-6.6 2016-05-31 UPDATE-SMART-DRIVEDB(8)