goutils/cmd/renfnv
Kyle Isom f8c64d3be5 bazel: updating build files 2023-05-04 15:11:15 -07:00
..
BUILD.bazel bazel: updating build files 2023-05-04 15:11:15 -07:00
README Add renfnv tool. 2016-08-23 12:59:34 -07:00
renfnv.go Mass rewrite imports -> git.wntrmute.dev repo. 2023-05-04 13:58:43 -07:00

README

renfnv

This renames a file to the base32-encoded 64-bit FNV-1a hash of the
file's contents. The extension is preserved. This was motivated by
a desire to normalise names for photographs.

Usage: renfnv [-fhlnv] files...

        -f      force overwriting of files when there is a collision.
        -h      print this help message.
        -l      list changed files.
        -n      Perform a dry run: don't actually move files.
        -v      Print all files as they are processed. If both -v and -l
                are specified, it will behave as if only -v was specified.