Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, I need to download some files from URL gapil.truelite.it/sources/ I'm trying to use wget but I am not able to find the right options for download the enitre directory ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2011
    Posts
    2

    Angry help: wget usage


    Hello,
    I need to download some files from URL gapil.truelite.it/sources/
    I'm trying to use wget but I am not able to find the right options for download the enitre directory (.c and .h files)

    I made several attempts like wget gapil.truelite.it/sources/*.c or wget -A.c gapil.truelite.it/sources/ (to download only .c files) but It seems non work.

    There's someone able to help me.
    Sorry but I am very novice with linux.
    W.

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,307
    Try the -r flag to tell wget to be recursive. Try the --accept flag to match on certain files. Do man wget for more options.

  3. #3
    Just Joined!
    Join Date
    Nov 2011
    Posts
    2
    Quote Originally Posted by atreyu View Post
    Try the -r flag to tell wget to be recursive. Try the --accept flag to match on certain files. Do man wget for more options.

    Quote Originally Posted by atreyu View Post
    Try the -r flag to tell wget to be recursive. Try the --accept flag to match on certain files. Do man wget for more options.

    Thank you for your answer but I've tried to use thes options but the result was

    .................................................. ..............................
    Removing gapil.truelite.it/sources/log/trunk/sources/tee.c?rev=1156 since it should be rejected.
    .................................................. ...........................................

    It seems that deletes files after downloading.

    I have not idea what I have to do. Could you try the same command and check the result?
    THANK YOU
    W.

  4. #4
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,307
    At the bottom of that page is a link to download the source in other formats. Try the Original format link.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •