repositorypackage
0.0.0-20230106141210-d7252a828f9f
Repository: https://github.com/carht/filehasher.git
Documentation: pkg.go.dev
# 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
$ ./filehasher -h sha512
$ ./filehasher -w
Retorna una larga lista y recursiva.
Return a long list and recursively.
$ ./filehasher -w -p ../gomisc -h sha512
Retorna una larga lista combinando las "flags" de entrada.
Return a long list mix the input flags.