Get mime type for a file in Ruby
`file --b --mime-type '/path/to/file.txt'`.strip
Read more
Show archive.org snapshot
Greg
Almost 7 years ago
This website uses short-lived cookies to improve usability.
Accept
or
learn more