Easiest way to unzip files


I would like to know what is the easiest way to unzip zip files which
contain a directory structure. Using Zip::ZipFile.extract does not work
(out of the box) when the zip file contains a directory structure
(unless you create the structure yourself).


unzip filename.zip
Must be the easiest. It’s just not, well, nice.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs