项目作者: raspi

项目描述 :
List file checksums inside of compressed archive
高级语言: Makefile
项目地址: git://github.com/raspi/tarkistaja.git
创建时间: 2020-07-07T15:12:06Z
项目社区:https://github.com/raspi/tarkistaja

开源协议:MIT License

下载


GitHub All Releases
GitHub release (latest by date)
GitHub tag (latest by date)

tarkistaja

List file checksums inside of compressed archive

Features

Examples

  1. % tarkistaja -m md5 test.zip
  2. d41d8cd98f00b204e9800998ecf8427e empty.txt
  3. 746308829575e17c3331bbcb00c0898b hello.txt

Add archive file name as a directory as additional information:

  1. % tarkistaja -m md5 -a test.zip
  2. d41d8cd98f00b204e9800998ecf8427e test.zip/empty.txt
  3. 746308829575e17c3331bbcb00c0898b test.zip/hello.txt

Write checksums to a file:

  1. % tarkistaja -o checksums.sha256 -a test.zip
  2. 2020/07/07 19:31:37 hashing "empty.txt"
  3. 2020/07/07 19:31:37 hashing "hello.txt"
  4. 2020/07/07 19:31:37 Done.
  5. % cat checksums.sha256
  6. e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 test.zip/empty.txt
  7. d9014c4624844aa5bac314773d6b689ad467fa4e1d1a50a1b8a99d5a95f72ff5 test.zip/hello.txt

Usage

  1. tarkistaja v1.0.0 - (2020-07-07T19:38:16+03:00)
  2. (c) Pekka Järvinen 2020- [ https://github.com/raspi/tarkistaja ]
  3. List file checksums inside of compressed archive.
  4. Usage:
  5. tarkistaja [parameters] <compressed file>
  6. Parameters:
  7. -a Add archive's file name as a directory name (as additional information)
  8. -m string
  9. Checksum method (sha1, sha256, sha512, md5) (default "sha256")
  10. -o string
  11. Output checksums to file <filename> instead of STDOUT
  12. Examples:
  13. List checksums:
  14. tarkistaja important_files.zip
  15. List checksums to file:
  16. tarkistaja -o checksums.sha256 important_files.zip
  17. List checksums using md5:
  18. tarkistaja -m md5 important_files.zip
  19. Add archive file name as directory for additional information:
  20. tarkistaja -a important_files.zip

Requirements

  • Operating system
    • GNU/Linux
      • x64 arm arm64 ppc64 ppc64le
    • Microsoft Windows
      • x64
    • Darwin (Apple Mac)
      • x64
    • FreeBSD
      • x64 arm
    • NetBSD
      • x64 arm
    • OpenBSD
      • x64 arm arm64

Get source

  1. git clone https://github.com/raspi/tarkistaja

Developing

  • Make changes
  • make
  • Create new version tag vX.Y.Z to VCS
  • make release

Requirements:

  • upx for compressing binaries

License

MIT