Tag Info

New answers tagged

1

You can achieve the required result in wget (or curl) by specifying an output document. With wget: wget https://raw.git...etc.../README.md -O ./temp/README.md With curl: curl https://raw.git...etc.../master/README.md > ./temp/README.md


2

A simple loop should be enough: for i in {1..22} do wget "ftp://ftp.ncbi.nih.gov/genomes/Homo_sapiens/CHR_${i}/hs_alt_CHM1_1.1_chr${i}.fa.gz" gunzip "hs_alt_CHM1_1.1_chr${i}.fa.gz" done The loop index doesn't have to be just numbers, you can get the MT, Un, X and Y files as well, with: for i in {1..22} MT Un X Y Since the first set of numbers ...


2

The instructions you cited said to do this: wget http://www.eng.lsu.edu/mirrors/apache/maven/maven-3/3.2.3/binaries/apache-maven-3.2.3-bin.zip unzip apache-maven-3.2.3-bin.zip mv apache-maven-3.2.3/ /opt/maven This will result in /opt/maven/bin, /opt/maven/lib, etc. What you did was slightly different: wget ...


1

This is one of those marginal things where there are arguments for and against adding a progress bar option to cp. The main argument against, is that you may not know ahead of time that you want to know the progress. Ctrl-T/SIGINFO is available on BSD for this purpose, and if that becomes available on GNU/Linux platforms, then there might be more reason for ...


3

I think the shell is interpreting the semicolons, which make the command line look like a wget and several variable assignment statements. You need to put the URL in quotes: wget 'https://git.iain.cx/?p=profile.git;a=blob_plain;f=opt/bin/ktmux_helper;hb=HEAD' Without the quotes, the shell splits the commmand line up at each semi colon, and treats it as 4 ...


1

I don´t have the 50 reputation points to comment so I add another answer. Have you tried with --ask-password and the --server-response parameters? like: wget --server-response --user username --ask-password http://192.168.1.1 And, I know it isn´t something related with the root, but.. are you quoting the password? Just because maybe you have something like ...


1

You may want to take a look at youtube-dl manpage. youtube-dl -a URL-file -o '-o "%(autonumber)s-%(title)s.%(ext)s" (untested)


0

Without credentials, it works. It doesn't matter if you are super user or normal user. But as you are entering the credentials for root, then most probably the password you entered is wrong or you are simply unauthorized to access that page


1

The -O option allows you to specify the destination file name. But if you're downloading multiple files at once, wget will save all of their content to the file you specify via -O. Note that in either case, the file will be truncated if it already exists. See the man page for more info. You can exploit this option by telling wget to download the links ...


0

I think the problem sometimes could be also with: Reusing existing connection to www.xkcd.com:80. HTTP request sent, awaiting response... 200 OK which indicates the files weren't downloaded, but they were re-used. So I think removal of the existing files in some cases such as index.html (which could be breaking recursive download going further) ...


1

Here there is my own solution, I have modified a little my old tutorial on my website linked on this page: this code will try to download my master repository on github link="https://github.com/nowardev/kde-peace-settings/archive/master.zip" #my own github stuff a=$(kdialog --progressbar "W-Get will download: Nowardev GitHub Master stuff " ...



Top 50 recent answers are included