gs_copy: Copy files to / from Google Storage

Description Usage Arguments

View source: R/gcloud-storage.R

Description

Use the gsutil cp command to copy data between your local file system and the cloud, copy data within the cloud, and copy data between cloud storage providers.

Usage

1
gs_copy(source, destination, recursive = FALSE, echo = TRUE)

Arguments

source

The file to be copied. This can be either a path on the local filesystem, or a Google Storage URI (e.g. gs://[BUCKET_NAME]/[FILENAME.CSV]).

destination

The location where the source file should be copied to. This can be either a path on the local filesystem, or a Google Storage URI (e.g. gs://[BUCKET_NAME]/[FILENAME.CSV]).

recursive

Boolean; perform a recursive copy? This must be specified if you intend on copying directories.

echo

Echo command output to console.


cloudml documentation built on Sept. 4, 2019, 1:04 a.m.