No file fetched with “wget -r”

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I use the following command to recursively download the rpms file from a web server



wget -r -np -R "index.html*" http://central-7-0-x86-64.rocksclusters.org/install/rolls/


After two minutes, I see



Total wall clock time: 2m 41s
Downloaded: 113 files, 1.2M in 4.7s (252 KB/s)


However, there are no *.rpm in the folders. It only fetched the folder names and some xml files!



How can I tell wget to fetch all files?







share|improve this question
























    up vote
    1
    down vote

    favorite












    I use the following command to recursively download the rpms file from a web server



    wget -r -np -R "index.html*" http://central-7-0-x86-64.rocksclusters.org/install/rolls/


    After two minutes, I see



    Total wall clock time: 2m 41s
    Downloaded: 113 files, 1.2M in 4.7s (252 KB/s)


    However, there are no *.rpm in the folders. It only fetched the folder names and some xml files!



    How can I tell wget to fetch all files?







    share|improve this question






















      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I use the following command to recursively download the rpms file from a web server



      wget -r -np -R "index.html*" http://central-7-0-x86-64.rocksclusters.org/install/rolls/


      After two minutes, I see



      Total wall clock time: 2m 41s
      Downloaded: 113 files, 1.2M in 4.7s (252 KB/s)


      However, there are no *.rpm in the folders. It only fetched the folder names and some xml files!



      How can I tell wget to fetch all files?







      share|improve this question












      I use the following command to recursively download the rpms file from a web server



      wget -r -np -R "index.html*" http://central-7-0-x86-64.rocksclusters.org/install/rolls/


      After two minutes, I see



      Total wall clock time: 2m 41s
      Downloaded: 113 files, 1.2M in 4.7s (252 KB/s)


      However, there are no *.rpm in the folders. It only fetched the folder names and some xml files!



      How can I tell wget to fetch all files?









      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 22 '17 at 12:45









      mahmood

      300516




      300516




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          You have to either increase recursion maximum depth level with -l:



          wget -r -np -R "index.html*" -l 10 http://central-7-0-x86-64.rocksclusters.org/install/rolls/


          or replace -r with -m:



          wget -m -np -R "index.html*" -l 10 http://central-7-0-x86-64.rocksclusters.org/install/rolls/





          share|improve this answer




















          • Yes, I tried both. You have to be more specific.
            – Arkadiusz Drabczyk
            Dec 22 '17 at 13:18










          • The second worked finally
            – mahmood
            Dec 22 '17 at 13:28










          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f412500%2fno-file-fetched-with-wget-r%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          1
          down vote



          accepted










          You have to either increase recursion maximum depth level with -l:



          wget -r -np -R "index.html*" -l 10 http://central-7-0-x86-64.rocksclusters.org/install/rolls/


          or replace -r with -m:



          wget -m -np -R "index.html*" -l 10 http://central-7-0-x86-64.rocksclusters.org/install/rolls/





          share|improve this answer




















          • Yes, I tried both. You have to be more specific.
            – Arkadiusz Drabczyk
            Dec 22 '17 at 13:18










          • The second worked finally
            – mahmood
            Dec 22 '17 at 13:28














          up vote
          1
          down vote



          accepted










          You have to either increase recursion maximum depth level with -l:



          wget -r -np -R "index.html*" -l 10 http://central-7-0-x86-64.rocksclusters.org/install/rolls/


          or replace -r with -m:



          wget -m -np -R "index.html*" -l 10 http://central-7-0-x86-64.rocksclusters.org/install/rolls/





          share|improve this answer




















          • Yes, I tried both. You have to be more specific.
            – Arkadiusz Drabczyk
            Dec 22 '17 at 13:18










          • The second worked finally
            – mahmood
            Dec 22 '17 at 13:28












          up vote
          1
          down vote



          accepted







          up vote
          1
          down vote



          accepted






          You have to either increase recursion maximum depth level with -l:



          wget -r -np -R "index.html*" -l 10 http://central-7-0-x86-64.rocksclusters.org/install/rolls/


          or replace -r with -m:



          wget -m -np -R "index.html*" -l 10 http://central-7-0-x86-64.rocksclusters.org/install/rolls/





          share|improve this answer












          You have to either increase recursion maximum depth level with -l:



          wget -r -np -R "index.html*" -l 10 http://central-7-0-x86-64.rocksclusters.org/install/rolls/


          or replace -r with -m:



          wget -m -np -R "index.html*" -l 10 http://central-7-0-x86-64.rocksclusters.org/install/rolls/






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 22 '17 at 13:04









          Arkadiusz Drabczyk

          7,21521532




          7,21521532











          • Yes, I tried both. You have to be more specific.
            – Arkadiusz Drabczyk
            Dec 22 '17 at 13:18










          • The second worked finally
            – mahmood
            Dec 22 '17 at 13:28
















          • Yes, I tried both. You have to be more specific.
            – Arkadiusz Drabczyk
            Dec 22 '17 at 13:18










          • The second worked finally
            – mahmood
            Dec 22 '17 at 13:28















          Yes, I tried both. You have to be more specific.
          – Arkadiusz Drabczyk
          Dec 22 '17 at 13:18




          Yes, I tried both. You have to be more specific.
          – Arkadiusz Drabczyk
          Dec 22 '17 at 13:18












          The second worked finally
          – mahmood
          Dec 22 '17 at 13:28




          The second worked finally
          – mahmood
          Dec 22 '17 at 13:28












           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f412500%2fno-file-fetched-with-wget-r%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay