New answers tagged wget
The session information is probably saved in a cookie to allow you to navigate to other pages after you have logged in. If this is the case, you could do this in two steps : Use wget's --save-cookies mycookies.txt and --keep-session-cookies options on the login page of the website along with your --username and --password options Use wget's --load-cookies ...
Try something like wget -qO- http://www.google.com/ | tr " " \\n | fgrep src= | tr \" \\n | fgrep -v src= which will, however, output URLs as they are written in the file - which may be relative the the base URL.
The standard method is wget -O- _url_ | samtools view -h chr1 - | samtools view -bS >condensed.bam. In case you weren't sure, that's an O for Output, not a zero. Another optimization step can be obtained if you know how many bytes are relevant for the next pipeline. Let's say samtools needs only the first 1352 bytes. You can do this using curl (According ...
If specifying --header='Accept-Encoding: gzip,deflate' won't work, maybe this one would: wget -O- http://example.com/file.gz | gunzip -c Or by using curl and its libz library which suppose to do automatic decompression of compressed files over HTTP (curl -V | grep libz). It has also --compress parameter.
I gave a try to lftp: lftp -c "torrent $1" where $1 is the .torrent file. Unlike lftp -e "torrent $1" lftp -c must exit when the command is done (lftp -e leaves you in its command pronpt). It also does seeding. (I don't know yet how seeding interacts with -c.) Seeding after the command finished This is actually done by lftp -c: first, I started ...
You can also try rtorrent and may be ctorrent which man page starts with: ctorrent - Download bittorrent files from command line
Check out transmission-cli. The usage is as simple as running transmission-cli <torrent-file>, but you can obviously tune it to your needs with several options. Just a side comment: Actually you could use many other options, apart from transmission-cli and there will probably appear many other suggestions here (like deluge by Benjamin B. in the ...
The answer turns out to depend on which SSL library wget is linked with. It might also depend on the version, but between wget 1.13 and 1.15 the behavior hasn't changed. If wget is linked with GnuTLS (e.g. Debian) Wget can read certificates from a file or from the files in a directory. To turn off all default trusted CAs (in /etc/ssl/certs), pass both ...
If you have GNU date, you can do: date -d yesterday +%Y%m%d For example: $ date -d yesterday +%Y%m%d 20150430 $ date +%Y%m%d 20150501 The command would be: /usr/bin/wget --output-document=/file.csv "http://domain.com/export/file.csv?DateRange=`date -d yesterday +%Y%m%d`,`date +%Y%m%d`" Check the GNU documentation for more examples. You can ...
Top 50 recent answers are included