downloadDirFiles: Single Directory Operations for Downloading and Uploading...

View source: R/boxr__internal_diff_and_uldl.R

deleteRemoteObjectsR Documentation

Single Directory Operations for Downloading and Uploading multiple Files

Description

Download or upload the contents of a box.com directory, not including subdirectories

Usage

deleteRemoteObjects(dir_id, local_dir = getwd())

downloadDirFiles(
  dir_id,
  local_dir = getwd(),
  overwrite = TRUE,
  dir_str = getwd()
)

uploadDirFiles(dir_id, local_dir = getwd(), overwrite = TRUE)

Arguments

dir_id

The box.com id for the folder that you'd like to query

local_dir

The local directory which you'd like dir_id to correspond to. If you're not interested in mapping local to hosted directories, this isn't terribly important.

Value

TRUE for a successful sync, NULL if the box.com folder is empty.


brendan-r/boxr documentation built on April 12, 2024, 11:16 p.m.