Module: Fcfinder
- Defined in:
- lib/fcfinder/zip_file_generator.rb,
lib/fcfinder/engine.rb,
lib/fcfinder/version.rb,
lib/fcfinder/connector.rb
Overview
This is a simple example which uses rubyzip to recursively generate a zip file from the contents of a specified directory. The directory itself is not included in the archive, rather just its contents.
Usage:
directoryToZip = "/tmp/input"
outputFile = "/tmp/out.zip"
zf = ZipFileGenerator.new(directoryToZip, outputFile)
zf.write()
Defined Under Namespace
Classes: Connector, Engine, ZipFileGenerator
Constant Summary collapse
- VERSION =
"1.0.3"