<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks for everyone's input.<div><br></div><div>Attached is a shell script which is modelled after <a href="http://crosswire.org/svn/crosswire-java/trunk/src/org/crosswire/sword/web/PackageMod.java">http://crosswire.org/svn/crosswire-java/trunk/src/org/crosswire/sword/web/PackageMod.java</a>.<div>PackageMod.java does the following:</div><div>Zipping is only done if at least one of the module's files or conf has a more recent modification time than the zip.</div><div>The name of the zip is taken from the [NAME] in the conf.</div><div>The zip overwrites any existing zip.</div><div><br></div><div>My script differs slightly:</div><div>It zips to a temporary file in the same directory and then copies it over top of the existing zip.</div><div>It manages the mods.d.tar.gz file when a zip is created, again by creating a temporary and moving that over top of the existing.</div><div>It assumes that there are no spaces in any path and that the repository is on UNIX.</div><div><br></div><div>I've tried this on all the repositories I could find.<br><div><br></div><div>I did find that there were a few conf files that did not have module files. Should these confs be renamed, deleted, or otherwise moved out of the way.</div><div><br></div><div>I did not update/manage InstallSize, which could be easily added.</div><div><br></div><div>Please review and comment.</div><div><br></div><div>BTW, it is very verbose.</div><div><br></div><div>In Him,</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>DM</div><div><br></div><div></div></div></div></body></html>