This function takes all the files in the directory, zips them, and saves/loads/deletes them to the cloud. The upload name will be the directory name.
gcs_save_all(directory = getwd(), bucket = gcs_get_global_bucket(),
pattern = "")gcs_load_all(directory = getwd(), bucket = gcs_get_global_bucket(),
exdir = directory, list = FALSE)
gcs_delete_all(directory = getwd(), bucket = gcs_get_global_bucket())
The folder to upload/download
Bucket to store within
An optional regular expression. Only file names which match the regular expression will be saved.
When downloading, specify a destination directory if required
When downloading, only list where the files would unzip to
When uploading the GCS meta object; when downloading TRUE
if successful
Zip/unzip is performed before upload and after download.
Other R session data functions: gcs_load
,
gcs_save_image
, gcs_save
,
gcs_source