Skip to content
/ totebag Public

A tool for extracting/archiving files and directories in several formats.

License

Notifications You must be signed in to change notification settings

tamada/totebag

Repository files navigation

totebag

Version MIT License docker

build Rust Report Card Coverage Status

A tool for extracting/archiving files and directories in multiple formats.

🗣️ Description

There are many archive formats and their tools. The one problem with using each tool is that its interfaces are slightly different. Then, The totebag treats the archive files as the same interface. The tool can extract archive files and archive files and directories.

Usage

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.

Options:
  -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
      --to-archive-name-dir  extract files to DEST/ARCHIVE_NAME directory (extract mode).
  -n, --no-recursive         No recursive directory (archive mode).
  -v, --verbose              Display verbose output.
      --overwrite            Overwrite existing files.
  -h, --help                 Print help
  -V, --version              Print version

Supported archive formats:

  • Tar
  • Tar+Gzip
  • Tar+Bzip2
  • Tar+Xz
  • Tar+Zstd
  • Zip
  • 7z
  • Lha, Lzh (extraction only)
  • Rar (extraction only)

Install

brew install tamada/tap/totebag

🐳 Docker

docker run -it --rm -v $PWD:/workdir ghcr.io/tamada/totebag:0.6.0 [OPTIONS] [ARGUMENTS]...
  • Working directory: /workdir
  • User: nonroot

About

Authors

The Logo and the Origin of totebag

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.

logo

This logo was generated by Bing Image Creator.

Related Tools

  • 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.