[Opensim-dev] IAR tar format

ssm2017 ssm2017 at gmail.com
Wed Jan 4 06:57:10 UTC 2023


Hello ubit and kevin,
Thank you for your attention.
I did not know that the file order could be important.
Adding inventory and then assets solved my problem.
Now i have the "offset" issue but only when using the "merge" parameter so
this is not so important in my use case.

On Mon, Jan 2, 2023, 20:15 Kevin Cozens <kevin at ve3syb.ca> wrote:

> On 2023-01-02 05:53, ssm2017 wrote:
> > what is the tar command line options/parameters to tar an iar ?
>
> As you mentioned in your message, the order does matter. Telling the
> system
> to archive "*" won't guarantee the correct order. IIRC, it will do
> sub-directories first and may do it in alphabetical order putting assets
> ahead of inventory before it gets to the archive.xml file. Also, * as you
> also noted can get you a warning about a command line that is too long as
> "*" gets expanded to the list of files before the command is executed.
>
> Instead use:
>     tar cfz name-of-tar-file.iar archive.xml inventory/* assets/*
>
> --
> Cheers!
>
> Kevin.
>
> http://www.ve3syb.ca/               | "Nerds make the shiny things that
> https://www.patreon.com/KevinCozens | distract the mouth-breathers, and
>                                      | that's why we're powerful"
> Owner of Elecraft K2 #2172          |
> #include <disclaimer/favourite>     |             --Chris Hardwick
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at opensimulator.org
> http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev
>


More information about the Opensim-dev mailing list