{"id":13344116,"url":"https://github.com/prantlf/apache-archiver","last_synced_at":"2025-10-04T11:49:48.204Z","repository":{"id":150431611,"uuid":"174498709","full_name":"prantlf/apache-archiver","owner":"prantlf","description":"Simple compressing and decompressing command-line tools using Apache Commons Compress.","archived":false,"fork":false,"pushed_at":"2019-03-10T10:41:17.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T10:42:58.359Z","etag":null,"topics":["apache-commons","commons-compress","tar","untar","unzip","zip"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prantlf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-08T08:31:25.000Z","updated_at":"2019-03-10T10:37:47.000Z","dependencies_parsed_at":"2023-05-18T00:45:34.300Z","dependency_job_id":null,"html_url":"https://github.com/prantlf/apache-archiver","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fapache-archiver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fapache-archiver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fapache-archiver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fapache-archiver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prantlf","download_url":"https://codeload.github.com/prantlf/apache-archiver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245791898,"owners_count":20672667,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apache-commons","commons-compress","tar","untar","unzip","zip"],"created_at":"2024-07-29T19:32:27.659Z","updated_at":"2025-10-04T11:49:43.152Z","avatar_url":"https://github.com/prantlf.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"apache-archiver\n===============\n\n[![Build Status](https://travis-ci.org/prantlf/apache-archiver.png)](https://travis-ci.org/prantlf/apache-archiver)\n[![Maintainability](https://api.codeclimate.com/v1/badges/d2f1a3517cc9da01668c/maintainability)](https://codeclimate.com/github/prantlf/apache-archiver/maintainability)\n\nSimple compressing and decompressing command-line tools using [Apache Commons Compress]. You can use them as source code examples too.\n\nHow to Use\n----------\n\nRun the command-line tools without parameters to see the usage description:\n\n```text\n$ java -cp commons-compress-1.18.jar:. untar\nUsage: untar l|x \u003cinput archive\u003e [output directory]\n\n$ java -cp commons-compress-1.18.jar:. unzip\nUsage: unzip l|x \u003cinput archive\u003e [output directory]\n\n$ java -cp commons-compress-1.18.jar:. tar\nUsage: tar \u003coutput archive\u003e [input directory]\n\n$ java -cp commons-compress-1.18.jar:. zip\nUsage: zip \u003coutput archive\u003e [input directory]\n```\n\nList contents of a TAR.GZ archive:\n\n```text\n$ java -cp commons-compress-1.18.jar:. untar l commons-compress-1.18-bin.tar.gz\nFile \"commons-compress-1.18/LICENSE.txt\"\n...\n```\n\nUncompress a ZIP archive to the current directory:\n\n```text\n$ java -cp commons-compress-1.18.jar:. unzip x commons-compress-1.18-bin.zip .\nUnpacking \"commons-compress-1.18/LICENSE.txt\"...\n...\n```\n\nCompress a TAR archive of the current directory:\n\n```text\n$ java -cp commons-compress-1.18.jar:. tar test.tar\nPacking \"./LICENSE\"...\n...\n```\n\nHow to Build\n------------\n\nMake sure, that you installed [OpenJDK Java] and [GNU Make] or compatibles. The following command will download the `common-compress` package and build the command line tools:\n\n```sh\nmake all\n```\n\nThe following command will test, that the command-line tools work:\n\n```sh\nmake test\n```\n\nThe following command will remove build and test output files:\n\n```sh\nmake clean\n```\n\nThe following command will remove all files created by the `Makefile`, including the downloaded `commons-compress` package:\n\n```sh\nmake distclean\n```\n\nContributing\n------------\n\nIn lieu of a formal styleguide, take care to maintain the existing coding style.\n\nLicense\n-------\n\nCopyright (c) 2019 Ferdinand Prantl\n\nLicensed under the Apache 2.0 license.\n\n[Apache Commons Compress]: https://commons.apache.org/proper/commons-compress/\n[OpenJDK Java]: https://openjdk.java.net/\n[GNU Make]: https://www.gnu.org/software/make/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprantlf%2Fapache-archiver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprantlf%2Fapache-archiver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprantlf%2Fapache-archiver/lists"}