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

David Haslam dfhdfh at protonmail.com
Thu Jan 10 12:56:26 MST 2019


My go to program for archiving in general is 7-zip.
There's a command line version of it as part of the standard installation.
Just added the 7-zip program location to my Windows path variable.
Now all I got to do is to learn the command syntax.

Best regards,

David

Sent with [ProtonMail](https://protonmail.com) Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, 10 January 2019 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)\GnuWin32\bin\zip.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/23487293/attachment.html>


More information about the sword-devel mailing list