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 ...
- 03-08-2008 #1Just 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
- 06-06-2008 #2Just Joined!
- Join Date
- Jun 2008
- Location
- Brazil
- Posts
- 1
try this
cat 02-01-01Lect.rm* > 02-01-01Lect.FULL.rm
- 06-06-2008 #3Linux 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.
- 06-07-2008 #4
Try this:
,,,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.Code:wget -c the_file_you_were_downloading


Reply With Quote
