7

Possible Duplicate:
Good free software that will join .001 files?

There are files on sites like rapidshare which have extensions like .001, .002, .003? They seem to be split by some tool. How to merge these files?

1

5 Answers 5

17

The files have likely been split by a compression program. 7-Zip should handle them fine. They could also have been split with hjsplit or a similar tool, but 7-zip should handle the files.

1
  • 3
    7-Zip all the way. This utility should automatically be part of any superuser's catalog of tools. Excellent compression, extensive compatibility, command-line interface, ... +1.
    – JMD
    Oct 27, 2009 at 16:56
13

It depends what kind of files they are. RAR and ZIP files often come as multi-part archives which need unarchiving by a suitable utility (WinRAR, 7-Zip. etc.).

If the file has been split on the byte level into parts you can use the unix cat command to combine them again:

cat file.jpg.* > fileCombined.jpg
2
  • The filenames don't have any indication of what tool was used. For example rar files have something like r01, r02, r03..which is not my case. Unless there's a tool that can identity which tool was used to do the splitting. Oct 27, 2009 at 18:46
  • I was having this error "Unexpected end of data" when untar gz because I splitted tar gz a tar gz file. Then I used this answer to combine the splitted files before untar gz again, then it worked. Jan 20, 2021 at 21:07
1

A lot of the other answers assume that the files are parts of a RAR (or similar) archive. If, on the other hand, they are simply split files and you want to recombine them, there is a simple way:

On Unix systems, just use cat - it's what it was made for - concatenate. Just cat foo.001 foo.002 ... > foo.combined and you're done.

On Windows, the simple, unassuming command line copy command can in fact also do this, but you must remember the /B switch.

1

Fans of the mighty Total Commander simply use Files > Combine Files.

Video Tutorial

You can also install the 7-Zip Plugin for Total Commander.

-1

You may also be able to re-join them with a parity checking software, such as "QuickPAR" (you can search Google for this application as I believe it is freeware).

You will know if it is a PAR compression / split fileset if the collection of files contains files with ".PAR", or .P01, .P02, etc. file extensions. In some cases, once you run the PAR files against the compressed fileset, it will merge the files into one file. At the same time, these files will ensure that the files you are using are complete and fully in tact.

This is common among the "Warez Scene", and is often used to obfuscate those who are not "in the know" or "part of the scene" where related to illegally obtained movies, software, music, etc.

Not the answer you're looking for? Browse other questions tagged .