powered by
Write a local folder to the cloud, S3 or GCS
export_folder(localfolder, bucketpath, pattern = "*", overwrite = TRUE, data_source = flyio_get_datasource(), bucket = flyio_get_bucket(data_source), show_progress = FALSE, ...)
path of the folder in which all the files are to be uploaded
path of the folder in which the files are to be uploaded
pattern of the file names in the folder to be uploaded
if files need to be overwritten (if already present)
the name of the data source, if not set globally. can be gcs or s3
the name of the bucket, if not set globally
logical. Shows progress of the upload operation.
other parameters for gcs/s3 upload
the filename and path of the file in the bucket
# NOT RUN { flyio_set_datasource("gcs") flyio_set_bucket("your-bucket-name") export_folder("folder-local/", "folder-on-cloud/") # }
Run the code above in your browser using DataLab