Skip to content

Instantly share code, notes, and snippets.

@rdeavila
Created March 18, 2014 18:30
Show Gist options
  • Save rdeavila/9626374 to your computer and use it in GitHub Desktop.
Save rdeavila/9626374 to your computer and use it in GitHub Desktop.
Linux: Como ver o mime-type de um arquivo
#!/bin/bash
file --mime-type -b ${1}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment