Skip to content

Guess character encoding in your filenames

License

Notifications You must be signed in to change notification settings

exponential-decay/fndec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fndec

Created for Artefactual Systems Inc.

Guess filename encodings... based on @richardlehane's characterize golang package.

Get up and running

Install and update dependencies:
go get -u

Run release script (if you are creating releases for multiple platforms):
bash fndec.sh

Otherwise run go build or go install to create a single binary on your machine. The binary will be created in the current folder or $GOBIN.

Run command (or create alias):
path/to/release/your-release-version -file path/to/filename

Binaries

A handful of binaries for different operating systems are created on release and are available here: https://github.com/exponential-decay/fndec/releases/latest

Usage

    ross-spencer@artefactual:~:$ fndec -h
    Usage of fndec:
      -file string
    	    File to read the filename from.
      -version
    	    Return version information.

Example output

alt text