https://github.com/mrinjamul/go-tar
This a warper of archive/tar & compress/gzip standard libary.
https://github.com/mrinjamul/go-tar
Last synced: about 1 year ago
JSON representation
This a warper of archive/tar & compress/gzip standard libary.
- Host: GitHub
- URL: https://github.com/mrinjamul/go-tar
- Owner: mrinjamul
- License: mit
- Created: 2021-02-19T13:28:03.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-10T14:45:38.000Z (about 5 years ago)
- Last Synced: 2025-01-23T12:15:35.281Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-tar
This a warper of `archive/tar` & `compress/gzip` standard libary.
It's only create `tar` and `tar.gz` currently.
Compression is depends on filename of the archive.
## How to use this module?
To use this module,
```sh
go get github.com/mrinjamul/go-tar/tarwarper
```
and then,
```go
import (
...
"github.com/mrinjamul/go-tar/tarwarper"
)
```
## Feature
- `tarwarper.CreateTar`
- `tarwarper.ExtractTar`
## CLI Usage
Usage: go-tar [options]
Options:
-c, --create string Create Tar
-x, --extract string Extract Tar
-h, --help help message
-o, --output string Output name
## License
This go module is licensed under MIT Copyright © 2021 Injamul Mohammad Mollah