RubyGems Navigation menu

extracter 1.1.8

This fairly small class/library can be used to extract different archive formats such as .tar.bz2 or .tbz - archives such as .gem and .lzma will also work. You can also extract audio, by making use of class ExtractAudio. The latter is - and should be - optional though. Usage example: require 'extracter' Extracter.new('/foo/bla-1.0.tar.bz2') The second argument that can be passed to the method new() specifies where we should extract to, example: Extracter.new('/foo/bla-1.0.tar.bz2', '/opt') This would extract to the /opt directory. You can query whether input is an archive or not via: Extracter.is_archive? 'foo.tar.xz' As of April 2014 we also provide a bin/extract file, so that you can simply extract something from the commandline. Since as of November 2018, class Extracter can also "extract" .iso files. (The .iso will be mounted to a directory that will be created, actually.) If you have a specific suggestion to make this gem more useful for others, please drop me an email at: shevegen@gmail.com Thank you.

Versions:

  1. 1.1.8 - May 08, 2021 (20 KB)
Show all versions (103 total)

Owners:

Pushed by:

Authors:

  • Robert A. Heiler

SHA 256 checksum:

ebcb93f04b28751da5c501da7ed820ca39f407314e1061a06da02eb6e0710e38

Total downloads 70,145

For this version 226

Gemfile:
= Copy to clipboard Copied!

install:
=

License:

GPL-2.0

Required Ruby Version: >= 3.0.1

Required Rubygems Version: >= 3.2.16

Links: