Compiles a list of file names based on file extension (e.g. nc, txt, ts, xml, bgm)

list_core_files(
  path = here::here(),
  filesToInclude = c("txt", "nc", "ts", "xml", "bgm")
)

Arguments

path

Character string. Path to location of atlantis output files

filesToInclude

Character vector. Types of files to copy (Default = ("txt","nc","ts","xml","bgm"))

Value

A character vector containing the names of all of the files to be copied to the google drive

See also

Other atlantisdrive functions: gd_exists(), get_file_list(), list_atlantisom_files(), pull_from_drive(), push_to_drive()

Examples

if (FALSE) { # create a list of all xml files in your projects "output" folder list_core_files(path=here::here("output"),filesToInclude=c("xml")) # create a list of all xml and ts files in your projects "test" folder list_core_files(path=here::here("test"),filesToInclude=c("xml","ts")) }