Forrest logo
back to context overview

mimetype

List of commands for mimetype:

  • mimetype:tldr:0106d mimetype: Display all the possible MIME types of a given file in confidence order.
    $ mimetype --all ${filename}
    try on your machine
    explain this command
  • mimetype:tldr:20f4c mimetype: Print the MIME type of a given file.
    $ mimetype ${filename}
    try on your machine
    explain this command
  • mimetype:tldr:22b05 mimetype: Explicitly specify the 2-letter language code of the output.
    $ mimetype --language ${filename}
    try on your machine
    explain this command
  • mimetype:tldr:3e6a6 mimetype: Display debug information about how the MIME type was determined.
    $ mimetype --debug ${filename}
    try on your machine
    explain this command
  • mimetype:tldr:5dad3 mimetype: Display only the MIME type, and not the filename.
    $ mimetype --brief ${filename}
    try on your machine
    explain this command
  • mimetype:tldr:5dbb0 mimetype: Determine the MIME type of `stdin` (does not check a filename).
    $ ${command} | mimetype --stdin
    try on your machine
    explain this command
  • mimetype:tldr:a3769 mimetype: Display a description of the MIME type.
    $ mimetype --describe ${filename}
    try on your machine
    explain this command
back to context overview