Skip to contents

Helper function: copy_xlsx_files

Usage

copy_xlsx_files(
  from_dir,
  to_dir,
  overwrite = FALSE,
  recursive = TRUE,
  file_pattern = "[xX][lL][sS][xX]"
)

Arguments

from_dir

input directory with xlsx files

to_dir

target directory where to copy the xlsx files

overwrite

should existing files be overwritten (TRUE) otherwise (FALSE) ? (default: FALSE)

recursive

if TRUE recursively find all xlsx files in the directory specified in parameter "from_dir" (default: TRUE)

file_pattern

pattern for identifying xlsx fles (default: "[xX][lL][sS][xX]")