After you have split an archive into sections, you can combine the sections to create a new archive.
The flar combine command creates a Solaris Flash archive from individual sections. The following table describes how the flar command handles combining sections.
The following command syntax is for flar combine command.
flar combine [-d dir] [-u section] [-t [-p posn] [-b blocksize]] filename
Retrieves the sections to combine from dir, rather than from the current directory.
If you use this option, flar copies the cookie, identification, archive, and section sections. You can specify a single section name or a space-separated list of section names.
If you do not use this option, flar copies the cookie, identification, and archive sections only.
In this example, an archive cookie section, an archive identification section, and an archive files section are combined to become a complete archive. The archive is named newarchive.flar.
# flar combine newarchive.flar |
In this example, an archive cookie section, an archive identification section, an archive files section, and a user-defined section are combined to become a complete archive. The archive is named newarchive.flar. The user-defined section content is in the file that is named user-defined, which is in the current directory.
# flar combine -u user_defined newarchive.flar |