Find the answer to your Linux question:
Results 1 to 4 of 4
i wanted to download a .rm file and i used wget to do it but after wget finshed i found that there are 11 file not just one file and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    28

    wget split the file into many files


    i wanted to download a .rm file and i used wget to do it but after wget finshed i found that there are 11 file not just one file and only two of them is 184MG and the other is 319 MGS so how can i merge the 11 file back to 1 file so i can play it, this is the result of ls

    -rw-r--r-- 1 root root 194443580 Mar 8 00:07 02-01-01Lect.rm
    -rw-r--r-- 1 root root 831396 Mar 7 05:41 02-01-01Lect.rm.1
    -rw-r--r-- 1 root root 1654163 Mar 7 05:43 02-01-01Lect.rm.1.1
    -rw-r--r-- 1 root root 867104 Mar 7 05:43 02-01-01Lect.rm.1.1.1
    -rw-r--r-- 1 root root 1584928 Mar 7 05:45 02-01-01Lect.rm.1.1.1.1
    -rw-r--r-- 1 root root 660200 Mar 7 05:45 02-01-01Lect.rm.1.1.1.1.1
    -rw-r--r-- 1 root root 1904404 Mar 7 05:47 02-01-01Lect.rm.1.1.1.1.1.1
    -rw-r--r-- 1 root root 1965064 Mar 7 05:48 02-01-01Lect.rm.1.1.1.1.1.1.1
    -rw-r--r-- 1 root root 1163004 Mar 7 05:50 02-01-01Lect.rm.1.1.1.1.1.1.1.1
    -rw-r--r-- 1 root root 1438288 Mar 7 05:51 02-01-01Lect.rm.1.1.1.1.1.1.1.1.1
    -rw-r--r-- 1 root root 334789205 Jul 28 2004 02-01-01Lect.rm.1.1.1.1.1.1.1.1.1.1
    Thanks

  2. #2
    Just Joined!
    Join Date
    Jun 2008
    Location
    Brazil
    Posts
    1
    try this

    cat 02-01-01Lect.rm* > 02-01-01Lect.FULL.rm

  3. #3
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Wget doesn't actually do this kind of things.

    Wget puts a .1 after a given file or something like that if you try to download a given file and a file of the same name is detected on the current dir. So, this suggest that, at least 10 of these files are incomplete downloads of the same file probably. There's no guarantee that the bigger one will be complete either, seeing how it failed 10 times at least. But if there's a complete file, it must be the bigger one which seems to be also the latest download.

    You can easily check if this is what happened to you by trying to open them one by one on mplayer and seeing the first few seconds. They all should be the same if I am correct. IF that's true, then concatenating them is something that you surely don't want to do.

  4. #4
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    Try this:
    Code:
    wget -c the_file_you_were_downloading
    ,,,and see if it will continue downloading from where it left off with the last attempt. If it does, then the file is indeed incomplete. If the -c option doesn't help you, then the file is likely already downloaded in its entirety.
    Linux Mint + IceWM Registered: #371367 New Members: click here

Posting Permissions

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