A tool for extracting/archiving files and directories in multiple formats.
There are many archive formats and their tools.
The one big problem with using the tools is that their interfaces are slightly different and it makes us confused.
Then, the totebag
treats the archive files as the same interface.
The tool can extract archive files and archive files and directories.
A tool for extracting/archiving files and directories in multiple formats.
Usage: totebag [OPTIONS] [ARGUMENTS]...
Arguments:
[ARGUMENTS]... List of files or directories to be processed.
If archive mode, the archive file name can specify at the first argument.
If the frist argument was not the archive name, the default archive name `totebag.zip` is applied.
Options:
--to-archive-name-dir extract files to DEST/ARCHIVE_NAME directory (extract mode).
-C, --dir <DIR> Specify the base directory for archiving or extracting. [default: .]
-i, --ignore-types <IGNORE_TYPES> Specify the ignore type. [possible values: default, hidden,
git-ignore, git-global, git-exclude, ignore]
-n, --no-recursive No recursive directory (archive mode).
--level <LEVEL> Specify the log level [default: warn]
[possible values: error, warn, info, debug, trace]
-m, --mode <MODE> Mode of operation. [default: auto]
[possible values: auto, archive, extract, list]
-o, --output <DEST> Output file in archive mode, or output directory in extraction mode
--overwrite Overwrite existing files.
-h, --help Print help
-V, --version Print version
Supported archive formats:
brew install tamada/tap/totebag
docker run -it --rm -v $PWD:/workdir ghcr.io/tamada/totebag:0.7.0 [OPTIONS] [ARGUMENTS]...
- Working directory:
/workdir
- User:
nonroot
- Haruaki Tamada (tamada)
The general word, totebag, is a bag for carrying things. From this, I chose the name of the tool, totebag, as a tool for packing files and directories carelessly.
This logo was generated by Bing Image Creator.
- magiclen/xcompress
- XCompress is a free file archiver utility on Linux, providing multi-format archiving to and extracting from ZIP, Z, GZIP, BZIP2, LZ, XZ, LZMA, 7ZIP, TAR, RAR and ZSTD.
- meuter/arkiv-rs
- Thin convenience library to manipulate compressed archive of vairous types through a single interface.