An open API service indexing awesome lists of open source software.

https://github.com/mddanish00/jpzip

A simple program to extract archive that contains files with name in Japanese correctly using 7zip.
https://github.com/mddanish00/jpzip

7zip japanese zip

Last synced: 11 months ago
JSON representation

A simple program to extract archive that contains files with name in Japanese correctly using 7zip.

Awesome Lists containing this project

README

          

# jpzip
jpzip is a simple program to extract archive that contains files with name in Japanese correctly using 7zip.

![Language](https://img.shields.io/badge/language-python-blue?style=flat-square&logo=python&logoColor=yellow)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg?style=flat-square)](https://github.com/psf/black)
![GitHub](https://img.shields.io/github/license/Miracutor/jpzip?style=flat-square)
![GitHub release (latest SemVer including pre-releases)](https://img.shields.io/github/v/release/Miracutor/jpzip?include_prereleases&sort=semver&style=flat-square)
![GitHub all releases](https://img.shields.io/github/downloads/Miracutor/jpzip/total?style=flat-square)

## Status
Project archived. Don't use old releases. Just use the same command with your own downloaded 7zip.
```
7za.exe x -mcp=932 -o
```

## Introduction
Deal with archive files that contain files with name in Japanese all the time?
Frequent customer on DLSite or other Japanese sites?

When you tried to extract these archive using 7zip, you got error like below.

![Error1](media/error1.png)

After a few hours researching the correct combination of command line options
and arguments, I finally get 7zip to extract archive files with name in Japanese
correctly, but it is pain to input those every time.

That's why I created this program.

## Installation
1. Download the archive from [Releases](https://github.com/Miracutor/jpzip/releases).
2. Extract to anywhere you like.
3. (Optional) Set up the PATH pointed to the directory that you extract the archive. This to make sure that jp7zip is
accessible to anywhere in your system.

## Usage
```
jpzip [-h] [-o OUTPUT | -os] input
```
```
input (Required) Input archive.
-h, --help show this help message and exit
-o OUTPUT, --output OUTPUT
Output directory. If not specified, output will be at the same directory as the archive.
-os, --output_same Output to a new directory with same name with the archive name.
```
### Extract files to an output directory:

```
jpzip [-o|--output]
```

### Extract files to the new folder with archive name:

```
jpzip [-os|--output_same]
```

### Extract files to the current directory:
```
jpzip
```

## Information
The actual command that passed to 7zip is:
```
7za.exe x -mcp=932 -o
```

## License
```
jpzip is a simple program to extract archive that contains files with
name in Japanese correctly using 7zip.

Copyright (C) 2022 Miracutor

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see .
```

7zip licenses is listed in [here](https://www.7-zip.org/license.txt).