wand: Retrieve 'Magic' Attributes from Files and Directories

The 'libmagic' library provides functions to determine 'MIME' type and other metadata from files through their "magic" attributes. This is useful when you do not wish to rely solely on the honesty of a user or the extension on a file name. It also incorporates other metadata from the mime-db database <https://github.com/jshttp/mime-db>.

Author
Bob Rudis (@hrbrmstr), Christos Zoulas [libmagic], Mans Rullgard [file], Jonathan Ong <me@jongleberry.com> [mime-db]
Date of publication
2016-08-16 02:08:24
Maintainer
Bob Rudis <bob@rud.is>
License
AGPL
Version
0.2.0
URLs

View on CRAN

Man pages

get_os
ripped from rappdirs (ty Hadley!)
incant
Retrieve 'magic' attributes from files and directories
magic_wand_file
Use the "magic" file that comes with the package
mime_db
MIME Types Database
wand
Retrieve 'Magic' Attributes from Files and Directories

Files in this package

wand
wand/inst
wand/inst/extdata
wand/inst/extdata/img
wand/inst/extdata/img/example.c
wand/inst/extdata/img/Rlogo.svg
wand/inst/extdata/img/Rlogo.tiff
wand/inst/extdata/img/example_dir
wand/inst/extdata/img/example_dir/test.txt
wand/inst/extdata/img/Rlogo.jpg
wand/inst/extdata/img/example.rtf
wand/inst/extdata/img/example.r
wand/inst/extdata/img/Rlogo.png
wand/inst/extdata/img/Rlogo.pdf
wand/inst/extdata/img/example.html
wand/inst/extdata/db
wand/inst/extdata/db/new
wand/inst/extdata/db/new/magic.mgc.zip
wand/tests
wand/tests/testthat
wand/tests/testthat/test-wand.R
wand/tests/test-all.R
wand/src
wand/src/magic.h
wand/src/wand.cpp
wand/src/Makevars.in
wand/src/Makevars.win
wand/src/RcppExports.cpp
wand/NAMESPACE
wand/INSTALL
wand/NEWS.md
wand/data
wand/data/mime_db.rda
wand/R
wand/R/wand-package.r
wand/R/aaa.r
wand/R/wand.r
wand/R/datasets.r
wand/R/RcppExports.R
wand/R/zzz.r
wand/README.md
wand/MD5
wand/DESCRIPTION
wand/configure
wand/man
wand/man/incant.Rd
wand/man/get_os.Rd
wand/man/wand.Rd
wand/man/magic_wand_file.Rd
wand/man/mime_db.Rd
wand/configure.win
wand/cleanup