exiftool: Read, Write, and Edit Meta Information

exiftoolR Documentation

Read, Write, and Edit Meta Information

Description

Run ExifTool with a given set of options and files. This is used by read.MusicMetadata.

Usage

exiftool(options = NULL, file = NULL)

Arguments

options

character vector. The options to be provided to ExifTool.

file

character vector. The filenames to be provided to ExifTool.

Details

Tilde-expansion is first done on file. file may contain any number of files, directories, or patterns to read, see section Examples.

Value

A character vector; the result of calling ExifTool.

Examples

## Not run: 
exiftool(file = c(
    "Music/input",  # read all files in Music/input directory
    "dirtyphonics_ivory_bastille.m4a",  # read an individual file
    "camellia_*"  # read all files that match this glob pattern
))
exiftool(
    options = c(
        "-extension", "m4a",  # process files with m4a extension
        "-extension", "mp3"   # process files with mp3 extension
    ),
    file = "Music/input"  # read all m4a/mp3 files in Music/input directory
)

## End(Not run)

ArcadeAntics/music.meta documentation built on Aug. 8, 2022, 12:25 p.m.