LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Joining splitted files (https://www.linuxquestions.org/questions/linux-software-2/joining-splitted-files-632931/)

oogje 04-04-2008 04:20 AM

Joining splitted files
 
Hi,

I'd like to join files of an archive which are splitted using split at Redhat Linux. Know I should use cat, unfortunately I've got to use Windows. Anybody knows which Windows program is capable?

thnx!

jschiwal 04-04-2008 04:24 AM

Create a dos batch file that uses "copy" with the /b option.

Read the short help for copy. It says you can use
copy /b file1+file2+file3 destfile

or

copy /b file* destfile

The latter is like using cat but you don't use redirection.

---

Just an FYI. They are "split" files.

oogje 04-09-2008 10:26 AM

Thanks for your reply jschiwal,


your reply: copy /b file* destfile

It works great for archives which ain't compressed. Unfortunately, I'm working with tar -z option:

tar -cvlzf - /home/don/ | split -a 2 -b 4000000000 /home/samba/externharddisk/backup/homedon.tar

I tried 7-zip. It creates an output with the name '[Content]', but I can't do anything with it. Since the totall-archive will be 9GB I suppose there'll be another problem in Windows: file size limit?

Hope you / someone can help me.

Don


All times are GMT -5. The time now is 02:25 AM.