Lists all files under a directory on Google drive folder

get_file_list(rootid = atlantisdrive::rootid, targetDir = NULL)

Arguments

rootid

Drive-id. The id to the root Atlantis Folder

targetDir

Character. Path to a directory. Default = NULL - returns all files in root

Value

A tibble containing file name details

name

Folder/filename

id

Drive id of folder/filename

drive_resource

list of 33 objects defind in [googledrive](drive_ls)

See also

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

Examples

if (FALSE) { # get list of files in the Scenario folder under the root get_file_list() get_file_list(targetDir = "Testing/Model1") get_file_list(targetDir = "Scenario") get_file_list(targetDir = "Scen") get_file_list(targetDir = "ario") }