localize-defunct: DEFUNCT - Copy packages, folders, or files to or from google...

localize-defunctR Documentation

DEFUNCT - Copy packages, folders, or files to or from google buckets

Description

[Deprecated]
localize(): recursively synchronizes files from a Google storage bucket (source) to the local file system (destination). This command acts recursively on the source directory, and does not delete files in destination that are not in 'source.

delocalize(): synchronize files from a local file system (source) to a Google storage bucket (destination). This command acts recursively on the source directory, and does not delete files in destination that are not in source.

Usage

localize(source, destination, dry = TRUE)

delocalize(source, destination, unlink = FALSE, dry = TRUE)

Arguments

source

character(1), a google storage bucket or local file system directory location.

destination

character(1), a google storage bucket or local file system directory location.

dry

logical(1), when TRUE (default), return the consequences of the operation without actually performing the operation.

unlink

logical(1) remove (unlink) the file or directory in source. Default: FALSE.

Value

localize(): exit status of function gsutil_rsync().

delocalize(): exit status of function gsutil_rsync()


Bioconductor/AnVIL documentation built on Dec. 21, 2024, 6:17 a.m.