[openbeos] Re: Haiku distro guidelines [was: Haiku VmwareBuild Environment]

On 2008-04-18 at 00:29:01 [+0200], Andreas Färber <andreas.faerber@xxxxxx> 
wrote:
> 
> Am 18.04.2008 um 00:01 schrieb Ingo Weinhold:
> >
> > You are not really telling me that you consider it a difficulty to add
> > another file name to a "zip" command line or select another file for
> > ZipOMatic, are you?
> 
> I am:
> 
> If I use Tracker to create the zip archive for the DESTDIR folder, it
> includes the folder name in the directory structure - undesired for
> unzipping onto the image.
> 
> Haven't looked into the zip command yet, but I'd definitely want to
> keep such metadata in a safe place outside my everchanging Haiku image
> - Jam for me would've meant allowing to maintain it separately, on
> Linux.

You can add a file to a zip archive via:

        zip <archive> <fileToAdd>

To add the file without its directory path name use "-j".

CU, Ingo

Other related posts: