;; Get file's mime type via file(1):
;;
;; (file-mime-type user-init-file)
;; ;; => "text/x-lisp"
;;
;; (file-mime-type (expand-file-name "~/Pictures/org-mode-unicorn.svg"))
;; ;; => "image/svg+xml"
;;
;; (file-mime-type-batch '("README.md" "Makefile"))
;; ;; => ("text/plain" "text/x-makefile")
-
Notifications
You must be signed in to change notification settings - Fork 0
xuchunyang/file-mime-type.el
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Get file's mime type via file(1)
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published