-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Daniel Valenzuela
committed
Aug 13, 2021
1 parent
6c99da4
commit c772c28
Showing
13 changed files
with
593 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Tzar: Tar, Zip, Anything Really | ||
|
||
Easy compression and extraction for any compression or archival format. | ||
|
||
## Authors | ||
|
||
- [@danielvalenzuela](https://www.github.com/danielvz96) | ||
|
||
|
||
## Usage/Examples | ||
|
||
```bash | ||
tzar compress large-dir compressed.tar.gz | ||
``` | ||
|
||
## Installation | ||
|
||
TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[tar] | ||
extract = "tar xf${verbose} ${filename} -C ${directory}" | ||
compress = "tar caf${verbose} ${filename} -C ${directory} ." | ||
show = "tar tf${verbose} ${filename}" | ||
extensions = [".tar", ".tar.gz", ".bz2", ".xz"] | ||
verbose = "v" | ||
|
||
[zip] | ||
extract = "unzip ${filename} -d ${directory}" | ||
compress = "zip -r${verbose} ${filename} ${directory}" | ||
show = "unzip -l${verbose} ${filename}" | ||
extensions = [".zip"] | ||
verbose = "v" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[tool.poetry] | ||
name = "tzar" | ||
version = "0.1.0" | ||
description = "" | ||
authors = ["Daniel Valenzuela <[email protected]>"] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.7" | ||
click = "^8.0.1" | ||
pyxdg = "^0.27" | ||
toml = "^0.10.2" | ||
|
||
[tool.poetry.dev-dependencies] | ||
pytest = "^5.2" | ||
|
||
[tool.poetry.scripts] | ||
tzar = 'tzar.cli:run' | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
File extension(s)[1] ,Official name[3] | ||
".a, .ar ",Unix Archiver | ||
.cpio ,cpio | ||
.shar ,Shell archive | ||
.LBR ,.LBR | ||
.iso ,ISO-9660 image | ||
.lbr , | ||
.mar ,Mozilla ARchive | ||
.sbx ,SeqBox | ||
.tar ,Tape archive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
File extension(s)[1] ,Official name[3] | ||
.7z ,7z | ||
.s7z ,7zX | ||
.ace ,ACE | ||
.afa ,AFA | ||
.alz ,ALZip | ||
.apk ,APK | ||
".arc, .ark ",ARC | ||
".arc, .cdx ",FreeArc | ||
.arj ,ARJ | ||
.b1 ,B1 | ||
.b6z ,B6Z | ||
.ba ,Scifer | ||
.bh ,BlakHole | ||
.cab ,Cabinet | ||
.car ,Compressia archive | ||
.cfs ,Compact File Set | ||
.cpt ,Compact Pro | ||
.dar ,Disk Archiver | ||
.dd ,DiskDoubler | ||
.dgc ,DGCA | ||
.dmg ,Apple Disk Image | ||
.ear ,EAR | ||
.gca ,GCA | ||
.genozip ,Genozip | ||
.ha ,[2] | ||
.hki ,WinHKI | ||
.ice ,ICE | ||
.jar ,JAR | ||
.kgb ,KGB Archiver | ||
".lzh, .lha ",LHA | ||
.lzx ,LZX | ||
.pak ,PAK | ||
.partimg ,PartImage | ||
".paq6, .paq7, .paq8 and variants ",PAQ | ||
.pea ,PeaZip | ||
.phar ,PHAR | ||
.pim ,PIM | ||
.pit ,PackIt | ||
.qda ,Quadruple D | ||
.rar ,RAR | ||
.rk ,RK and WinRK [3] | ||
.sda ,Self Dissolving ARChive | ||
.sea ,Self Extracting Archive | ||
.sen ,Scifer | ||
.sfx ,Self Extracting Archive | ||
.shk ,NuFX | ||
.sit ,StuffIt | ||
.sitx ,StuffIt X | ||
.sqx ,SQX | ||
".tar.gz, .tgz, .tar.Z, .tar.bz2, | ||
.tbz2, .tar.lz, .tlz. .tar.xz, .txz, .tar.zst ","tar with gzip, compress, bzip2, lzip, or xz " | ||
.uc .uc0 .uc2 .ucn .ur2 .ue2 ,UltraCompressor II | ||
.uca ,PerfectCompress[10] | ||
.uha ,UHarc | ||
.war ,WAR | ||
.wim ,Windows Image | ||
.xar ,XAR | ||
.xp3 ,KiriKiri | ||
.yz1 ,YZ1 | ||
".zip, .zipx ",ZIP | ||
.zoo ,zoo | ||
.zpaq ,ZPAQ | ||
.zz ,Zzip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
File extension(s)[1] ,Official name[3] | ||
.bz2 ,bzip2 | ||
".F, .?XF[5] ",Freeze/melt [1] | ||
.gz ,gzip | ||
.lz ,lzip | ||
.lz4 ,LZ4 | ||
.lzma ,lzma | ||
.lzo ,lzop | ||
.rz ,rzip | ||
.sfark ,sfArk | ||
.sz ,Snappy | ||
.?Q? ,SQ | ||
.?Z? ,CRUNCH | ||
.xz ,xz | ||
.z ,pack | ||
.Z ,compress | ||
.zst ,Zstandard | ||
.??_ , |
Empty file.
Oops, something went wrong.