Here's how to use cat to put a file back together again: cat part1 part2 part3 part4 > wholefile
Or cat part1 > wholefile cat part2 >> wholefile cat part3 >> wholefile cat part4 >> wholefile cat outputs to standard out. You need to use '>' or '>>' to redirect to a file. '>' will overwrite the file if it already exists. Otherwise it creates the file. '>>' will append to the file if it already exists. Otherwise it creates the file. -----Original Message----- From: Rhino [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 19, 2005 9:47 AM To: Ant Users List; Bill Rich Subject: Re: Size of zip file I don't use Linux a lot but I was curious about this issue and found some online man pages that described 'split' and it definitely looks like the command to use to slice and dice a file into smaller pieces. Unfortunately, they don't identify the command that merges the smaller files together again! [I'll spare you my standard rant about glaring deficiencies in man pages]. However, the "see also" section of the man page for 'split' says that the full documentation is maintained as a Texinfo manual and that 'info split' should give you more. Maybe it even tells you what command 'unsplits' the smaller files back into a single larger file. I had a look at some of the other commands that were listed for Linux and saw both a 'merge' and a 'join' which looked promising but the articles made it clear that they were no going to put the split files back together again. There are roughly a gazillion different linux commands in this list and I don't have time to read all the articles to see which one is the right command so I'll leave you to find that on your own :-) Rhino ----- Original Message ----- From: "Bill Rich" <[EMAIL PROTECTED]> To: "'Ant Users List'" <user@ant.apache.org> Sent: Wednesday, October 19, 2005 11:42 AM Subject: RE: Size of zip file > No "cat" was not one of the utils I remember for this job. All they > did was > divide a zip file into parts as close to the specified max as possible > and put them back together. IIRC the individual parts were not usable > on their own. It was merely a way to package the file so it would fit > on removeable media. I think there was also an index file written that > listed the files that had been made so the merge file could put them > back together. I am pretty sure it was intended for use with > archive/backup files only, but, I could be wrong. > > Bill > > -----Original Message----- > From: Gisbert Amm [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 18, 2005 11:59 PM > To: Ant Users List > Subject: Re: Size of zip file > > Bill Rich wrote: > > Many years ago (when floppies and sneaker net were the tranport > > method of > > choice) there were two Unix utilities available to split a zip file > > into parts and merge the parts back to a single zip file. I don't > > remember who supplied them or if they are even still available. > > Do you probably mean "split" and "cat"? > > Regards, > Gisbert Amm > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] For additional > commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.344 / Virus Database: 267.12.4/143 - Release Date: 19/10/2005 > > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.12.4/143 - Release Date: 19/10/2005 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]