[Opensim-users] Creating oar file from folder

Justin Clark-Casey jjustincc at googlemail.com
Mon Apr 27 18:26:43 UTC 2009


Christopher Yeoh wrote:
> On Sat, 25 Apr 2009 12:00:55 +0100
> Tom Willans <tom.willans at bessacarr.com> wrote:
> 
>> I am trying to generate a oar file based upon the folder from a  
>> decompressed file. I am using the command
>>
>> tar cvzf myoarfile.tar.gz * from with the folder itself ( this is now  
>> readable).  What am I doing wrong?
> 
> Try instead:
> 
> tar cvfz myoarfile.tar.gz */*
> 
> when you're in the directory.
> 
> This under most circumstances avoids including directory entries into the
> archive. At one stage the dearchiver was made to be a bit more tolerant
> of the input like that but the code appears to have regressed a bit.

Is this definitely the case right now?  From which I last effectively tested this (which wasn't that long ago), there 
were no problem with directory entries in the tar.  If this is no longer the case then a bug report in Mantis with the 
offending oar file attached would be much appreciated.

> 
> Occasionally you'll have oar files with deeper directory hierarchies and you'll need
> to firstly produce a file list and get send that to tar directly to avoid
> all the directories being included in the archive.
> 
> Regards,
> 
> Chris.

-- 
justincc
Justin Clark-Casey
http://justincc.wordpress.com



More information about the Opensim-users mailing list