fileHasher

command module
v0.0.0-...-d7252a8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

README

Traductions

Documentation

fileHasher

Return the hash md5 or sha512 of the files in a directory or recursively.

Build/Compilation
$ git clone https://github.com/carht/fileHasher
$ cd fileHasher
$ go build .
Usage

This binary implement flags in the same style of unix commands, by default return the list of the local directory with the hash md5.

Flags
  • -h [md5|sha512] : Active the output hash sum for the files, "md5" or "sha512". Default value "md5"
  • -w : Active the walker mode (recursive).
  • -p filepath : List the files of the "filepath". Default value "."

See Examples

Documentación

fileHasher

Lista los archivos de un directorio y retorna su hash md5 o el hash sha512, también es recursivo sobre el árbol de directorios.

Construcción/Compilación
$ git clone https://github.com/carht/fileHasher
$ cd fileHasher
$ go build .
Uso

Tiene varias "flags" al estilo comandos de unix-like, por defecto retorna la lista de archivos con su hash md5.

Flags:
  • -h [md5|sha512] : Activa el hash de salida "md5" o "sha512". Valor por defecto md5.
  • -w : Activa el modo recursivo o "walker".
  • -p filepath : Lista los archivos de dicho directorio. Valor por defecto "."
Ejemplos/Examples:
$ ./fileHasher

filehasher0


$ ./filehasher -h sha512

filehasher1


$ ./filehasher -w

filehasher2

Retorna una larga lista y recursiva.

Return a long list and recursively.


$ ./filehasher -w -p ../gomisc -h sha512

filehasher3

Retorna una larga lista combinando las "flags" de entrada.

Return a long list mix the input flags.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL