[Opensim-dev] IAR tar format

Kevin Cozens kevin at ve3syb.ca
Mon Jan 2 19:15:21 UTC 2023


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



More information about the Opensim-dev mailing list