Learn R Programming

umx (version 1.2.5)

umx_rename_file: umx_rename_file

Usage

umx_rename_file(findStr = NA, replaceStr = NA, baseFolder = "Finder",
  listPattern = NA, test = TRUE, overwrite = FALSE)

Arguments

findStr
The (regex) string to find, i.e., "c[ao]t"
replaceStr
The (regex) replacement string "<1>are not dogs"

baseFolder{The folder to search in. If set to "Finder" (and you are on OS X) it will use the current frontmost Finder window. If it is blank, a choose folder dialog will be thrown.}