Moodle Plugins directory: External zip utility: Versions: 0.9 (Build 20120907) | Moodle.org
External zip utility
Other tools ::: local_externalzip
Maintained by
Aaron Wells
Allows Moodle to use the command-line zip utility (/usr/bin/zip) instead of the PHP ZipArchive library.
External zip utility 0.9 (Build 20120907)
Moodle 2.2, 2.3
Released: petak, 7. septembar 2012., 08:50
This package is a "local" plugin which allows Moodle to use external
command-line zip and unzip utilities rather than the PHP ZipArchive library.
It's intended as a workaround to ZipArchive's inability to handle large zip
files (see http://tracker.moodle.org/browse/MDL-34388) or if you just think
you'll get better performance from the command-line utilities.
I have only tested this plugin in Ubuntu 12.04. It almost certainly won't work on
Windows, and it might not work on other *nix platforms if their "zip" and "unzip"
utilities have different command-line options and output.
TO INSTALL:
1) Copy the externalzip directory into your ($CFG->dirroot)/local directory
2) Apply the patch file to lib/filestorage/zip_archive.php by cd'ing into
your $CFG->dirroot directory and running this command:
patch -p1 < local/externalzip/lib-filestorage-zip_archive.php.patch
3) Log in to your Moodle and go to the Notifications page to install the
DB changes for the update.
4) After installation navigate to "Site Administration" -> "Plugins" ->
"Local plugins" -> "externalzip" -> "Settings for external zip utility" to
choose between using ZipArchive and the external zip utility.
command-line zip and unzip utilities rather than the PHP ZipArchive library.
It's intended as a workaround to ZipArchive's inability to handle large zip
files (see http://tracker.moodle.org/browse/MDL-34388) or if you just think
you'll get better performance from the command-line utilities.
I have only tested this plugin in Ubuntu 12.04. It almost certainly won't work on
Windows, and it might not work on other *nix platforms if their "zip" and "unzip"
utilities have different command-line options and output.
TO INSTALL:
1) Copy the externalzip directory into your ($CFG->dirroot)/local directory
2) Apply the patch file to lib/filestorage/zip_archive.php by cd'ing into
your $CFG->dirroot directory and running this command:
patch -p1 < local/externalzip/lib-filestorage-zip_archive.php.patch
3) Log in to your Moodle and go to the Notifications page to install the
DB changes for the update.
4) After installation navigate to "Site Administration" -> "Plugins" ->
"Local plugins" -> "externalzip" -> "Settings for external zip utility" to
choose between using ZipArchive and the external zip utility.
Version information
- Version build number
- 2012090500
- Version release name
- 0.9 (Build 20120907)
- Can be updated to
- 0.9.2 (Build 2013071701) (2013071701)
- Maturity
- Beta verzija
- MD5 Sum
- 966c6e722f49d53396b56f5a2656a84f
- Supported software
- Moodle 2.2, Moodle 2.3
- The more recent release 0.9.2 (Build 2013071701) (2013071701) exists for Moodle 2.2
- The more recent release 0.9.2 (Build 2013071701) (2013071701) exists for Moodle 2.3
Version control information
- Version control system (VCS)
- GIT
- VCS repository URL
- VCS branch
- local_externalzip
Default installation instructions for plugins of the type Other tools
For installation instructions, consult the main description for this code.