Operating System - HP-UX
1753774 Members
7106 Online
108799 Solutions
New Discussion юеВ

How to unsplit the files ..?

 
susee_sundar
Regular Advisor

How to unsplit the files ..?


Hi ,

I got two files from the client which are splitted by using the split command.

How can i get the original file, i search for un-split command , But i didn't found any command in Google.

Regards
Suseendran .A
4 REPLIES 4
Alex Georgiev
Regular Advisor

Re: How to unsplit the files ..?

You should just be able to cat them together:

cat fileaa fileab fileac ... > file

HTH!
Steven E. Protter
Exalted Contributor

Re: How to unsplit the files ..?

Shalom,

Using cat to put them together will probably work.

To be certain, you would need to know how they were split in peices

The split command man page mentions several other utilities that may be helpful in putting the file back together.

See also bfs(1), csplit(1).

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sandman!
Honored Contributor

Re: How to unsplit the files ..?

As long as you know the sequence in which they were split, you can put them back together using cat(1) i.e. unsplit them.

~cheers
susee_sundar
Regular Advisor

Re: How to unsplit the files ..?

Hi Team,

Thanks for your inputs,
I used the cat command to add the files .


Regards
Suseendran .A