Skip to content

Instantly share code, notes, and snippets.

@jbonney
Created August 29, 2013 07:24
Show Gist options
  • Select an option

  • Save jbonney/6375102 to your computer and use it in GitHub Desktop.

Select an option

Save jbonney/6375102 to your computer and use it in GitHub Desktop.
From http://stackoverflow.com/questions/1730878/encoding-of-file-shell-script - Get encoding information about a file.
file --mime myfile.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment