Yep that works. Thanks. I had confused that with -j which stores the files with 
no path information. I’ll update the wiki.

— DM

> On Aug 17, 2015, at 7:39 PM, Kahunapule Michael Johnson 
> <[email protected]> wrote:
> 
> How about the more simple and cross-platform 
> 
> zip  -r -D $ZIPDIR/xyzABC.zip mods.d/xyzABC.conf modules/texts/ztext/xyzABC
> where "-D" means "don't create entries for directories"?
> 
> On 08/17/2015 07:25 AM, DM Smith wrote:
>> CrossWire's “gold” standard is the servlet that packages zip files for 
>> download. I verified that it only puts files into the zips.
>> 
>> I’ve updated the wiki page.
>> 
>> For simple modules, having no subdirectories, such as images, it was lacking 
>> /* on the end and included -r.
>> 
>> zip $ZIPDIR/XYZ.zip mods.d/xyz.conf modules/texts/ztext/xyz/*
>> 
>> If the module has sub folders then:
>> 
>> zip $ZIPDIR/XYZ.zip mods.d/xyz.conf $(find modules/texts/ztext/xyz -type f)
>> 
>> I don’t know what the equivalent would be on Windows.
>> 
>> Hope this helps.
>> 
>> In His Service,
>>      DM
>> 
>>> On Aug 17, 2015, at 11:52 AM, Peter Von Kaehne <[email protected]> 
>>> <mailto:[email protected]> wrote:
>>> 
>>> I would prefer that someone fixes it who knows exactly what should be 
>>> written  there.
>>> 
>>> Peter
>>> 
>>>> Gesendet: Montag, 17. August 2015 um 16:41 Uhr
>>>> Von: "David Haslam" <[email protected]> <mailto:[email protected]>
>>>> An: [email protected] <mailto:[email protected]>
>>>> Betreff: Re: [sword-devel] eBible.org repository refresh done
>>>> 
>>>> Please edit the wiki page if it needs correcting, Peter.
>>>> 
>>>> David
>>>> 
>>>> 
>>>> 
>>>> --
>>>> View this message in context: 
>>>> http://sword-dev.350566.n4.nabble.com/eBible-org-repository-refresh-complete-tp4654913p4655002.html
>>>>  
>>>> <http://sword-dev.350566.n4.nabble.com/eBible-org-repository-refresh-complete-tp4654913p4655002.html>
>>>> Sent from the SWORD Dev mailing list archive at Nabble.com.
>>>> 
>>>> _______________________________________________
>>>> sword-devel mailing list: [email protected] 
>>>> <mailto:[email protected]>
>>>> http://www.crosswire.org/mailman/listinfo/sword-devel 
>>>> <http://www.crosswire.org/mailman/listinfo/sword-devel>
>>>> Instructions to unsubscribe/change your settings at above page
>>>> 
>>> _______________________________________________
>>> sword-devel mailing list: [email protected] 
>>> <mailto:[email protected]>
>>> http://www.crosswire.org/mailman/listinfo/sword-devel 
>>> <http://www.crosswire.org/mailman/listinfo/sword-devel>
>>> Instructions to unsubscribe/change your settings at above page
>> 
>> _______________________________________________
>> sword-devel mailing list: [email protected] 
>> <mailto:[email protected]>
>> http://www.crosswire.org/mailman/listinfo/sword-devel 
>> <http://www.crosswire.org/mailman/listinfo/sword-devel>
>> Instructions to unsubscribe/change your settings at above page
> 
> 
> -- 
> Aloha,
> Kahunapule Michael Johnson
> 
> MICHAEL JOHNSON
> PO BOX 881143
> PUKALANI HI 96788-1143
> USA   eBible.org <http://ebible.org/>
> MLJohnson.org <http://mljohnson.org/>
> Mobile: +1 808-333-6921
> Skype: kahunapule _______________________________________________
> sword-devel mailing list: [email protected]
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

_______________________________________________
sword-devel mailing list: [email protected]
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to