Runs aws s3 sync from src to dest, pulling down only the files the
workflow's tool schemas declare (see wf_s3sync_patterns()).
Usage
cli_nemo_s3sync(
src,
dest,
workflow,
dryrun = FALSE,
show_patterns = FALSE,
include = NULL,
exclude = NULL,
quiet = TRUE
)Arguments
- src
(
character(1))
S3 source path.- dest
(
character(1))
Local destination directory.- workflow
(
character(1))
Workflow name (e.g."wigits").- dryrun
(
logical(1))
Pass--dryruntoaws s3 sync.- show_patterns
(
logical(1))
Print the include/exclude patterns as TSV to stdout and return without syncing.- include, exclude
(
character(n))
Extra globs, added after the workflow's own patterns (seewf_s3sync_patterns()).- quiet
(
logical(1))
Pass--only-show-errorstoaws s3 sync(sees3sync()). The CLI sets it unless--verboseis given.
Examples
out <- capture.output(
cli_nemo_s3sync(
src = "s3://bucket/run1", dest = tempfile(),
workflow = "workflow1", show_patterns = TRUE,
include = "*.extra.tsv", exclude = "*.big.tsv"
)
)
