nwaples / rardecode

A go package for reading RAR archives.
BSD 2-Clause "Simplified" License
124 stars 28 forks source link

I created a CLI for this #37

Open coolaj86 opened 2 months ago

coolaj86 commented 2 months ago

runzip:

Usage

USAGE
    runzip <archive.rar> [./dst/]

EXAMPLES
    runzip ./archive.rar                 # ./inner-dir/
    runzip ./archive.rar ./existing-dir/ # ./existing-dir/inner-dir/
    runzip ./archive.rar ./new-dir/      # ./new-dir/

Special feature: it ensures exactly one containing folder - either by creating a folder within the given output directory, or by denesting the containing folder after extraction.

Install