[sword-devel] Making a Zip archive of a module?

David Haslam dfhdfh at protonmail.com
Thu Jan 10 11:20:59 MST 2019


I was rather hoping that a tool that takes just the ModuleName as its parameter might be available.

If we can have
mkfastmod ModuleName
and
mod2zmod ModuleName
then why not one like
zipmod ModuleName
that finds the right files by looking up the path in .conf file?

David

Sent from ProtonMail Mobile

On Thu, Jan 10, 2019 at 18:13, Dudeck, John <John.Dudeck at sim.org> wrote:

> David, here's a snippet from my bat files that I use for creating modules. The zip files import into AndBible without problem.
>
> ========================================
> rem usage: OSIS2sword-bibles sourcepath/filename
> set modname=%~n1
>
> [snip]
>
> rem create zip file
> rem delete any previous zip
> del "%modname%.zip"
> rem (uses zip.exe from http://downloads.sourceforge.net/gnuwin32/zip-3.0-setup.exe)
> "c:Program Files (x86)GnuWin32inzip.exe" -r -u "%modname%.zip" mods.d* modules*
> ========================================
>
>> I normally use the Xiphos Module Manager (Maintenance | Archive) to create a compressed Zip
>> archive of a selected module.
>>
>> Is there an equivalent Sword Utility to perform the same task in a command shell ?
>>
>> Regards,
>>
>> David
>>
>> Sent from ProtonMail Mobile
>
> John Dudeck
> Programmer at Editions Cle                             Lyon, France
> john.dudeck at sim.org                            john at editionscle.com
> --
> Table saw: A large stationary power tool commonly used to launch wood
> projectiles for testing wall integrity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20190110/bb29ff62/attachment-0001.html>


More information about the sword-devel mailing list