Skip to content

Instantly share code, notes, and snippets.

@JLHwung
Last active April 12, 2017 06:56
Show Gist options
  • Save JLHwung/e0bab530305b00b2206bf2ff0017d78d to your computer and use it in GitHub Desktop.
Save JLHwung/e0bab530305b00b2206bf2ff0017d78d to your computer and use it in GitHub Desktop.
Display Media File Information cheatsheet

OpenSSL

Certificate

openssl x509 -text -noout -in $FILE

Certificate Signing Request

openssl req -text -noout -in $FILE

EC Key

openssl ec -text -noout -in $FILE

RSA Key

openssl rsa -text -noout -in $FILE

PKCS12

openssl pkcs12 -info -in $FILE

ffmpeg

Video Information

ffprobe $FILE

GraphicsMagick

Image Information

gm identify -verbose $FILE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment