2020-10-03 03:18:22 +02:00
|
|
|
# Linux compressor humanizer
|
2019-02-22 17:20:27 +01:00
|
|
|
|
2020-10-03 03:33:00 +02:00
|
|
|
## Installation
|
|
|
|
|
|
|
|
|
|
###### install
|
|
|
|
|
```
|
2020-10-03 16:39:40 +02:00
|
|
|
sudo ./bin/install.sh
|
2020-10-03 03:33:00 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
###### Uninstall
|
|
|
|
|
```
|
2020-10-03 16:39:40 +02:00
|
|
|
sudo ./bin/uninstall.sh
|
2020-10-03 03:33:00 +02:00
|
|
|
```
|
|
|
|
|
|
2020-10-03 03:27:35 +02:00
|
|
|
## Usage
|
2020-10-03 03:33:00 +02:00
|
|
|
|
2019-02-22 18:02:22 +01:00
|
|
|
###### Compress
|
2019-02-22 18:05:07 +01:00
|
|
|
```
|
2020-09-29 21:40:25 +02:00
|
|
|
$ lch file.zip file1 [file2...]
|
2019-02-22 18:05:07 +01:00
|
|
|
```
|
2019-02-22 17:21:22 +01:00
|
|
|
|
2020-07-15 23:38:51 +02:00
|
|
|
###### Decompress
|
2019-02-22 18:05:07 +01:00
|
|
|
```
|
2019-02-22 18:04:06 +01:00
|
|
|
$ lch file.zip
|
2019-02-22 18:05:07 +01:00
|
|
|
```
|
2019-02-22 17:20:27 +01:00
|
|
|
|
2020-10-03 03:52:10 +02:00
|
|
|
###### Options
|
|
|
|
|
```
|
|
|
|
|
$ lch -h - Show help
|
|
|
|
|
$ lch -v - Print version
|
|
|
|
|
$ lch -c - Check compression systems
|
|
|
|
|
$ lch -i - Install the compressors dependencies
|
|
|
|
|
```
|
|
|
|
|
|
2019-02-22 18:02:22 +01:00
|
|
|
## Supported extensions
|
2020-10-03 03:33:00 +02:00
|
|
|
|
2020-10-03 03:18:22 +02:00
|
|
|
###### Packing/unpacking:
|
2020-10-03 03:26:43 +02:00
|
|
|
- 7z
|
|
|
|
|
- bz2
|
|
|
|
|
- gz
|
|
|
|
|
- rar
|
|
|
|
|
- tar
|
2020-10-03 06:46:02 +02:00
|
|
|
- tar.bz2, tbz, tbz2, tb2
|
|
|
|
|
- tar.gz, tgz
|
|
|
|
|
- tar.xz, txz
|
2020-10-03 03:26:43 +02:00
|
|
|
- zip
|
|
|
|
|
|
2020-10-03 03:18:22 +02:00
|
|
|
###### Unpacking only:
|
2020-10-03 03:26:43 +02:00
|
|
|
- arj
|
|
|
|
|
- cab
|
|
|
|
|
- dmg
|
|
|
|
|
- iso
|
|
|
|
|
- lzh
|
|
|
|
|
- lzma
|
|
|
|
|
- rpm
|
2020-10-03 07:19:07 +02:00
|
|
|
- squashfs
|
2020-10-03 05:40:11 +02:00
|
|
|
- vdi
|
|
|
|
|
- vhd
|
2020-10-03 05:05:40 +02:00
|
|
|
- vmdk
|
2020-10-03 03:26:43 +02:00
|
|
|
- win
|
|
|
|
|
- xar
|
|
|
|
|
- z
|
2020-07-15 23:38:51 +02:00
|
|
|
|
2020-09-27 18:06:33 +02:00
|
|
|
## Testing with docker
|
|
|
|
|
```
|
|
|
|
|
$ git clone https://gitea.hatthieves.es/cloud/lch
|
|
|
|
|
$ cd lch && docker run -it --rm --name lch --workdir /lch -v $(pwd):/lch putyourdistributionhere ./lch -h
|
|
|
|
|
```
|