opal.file_cp: Copy a file

Description Usage Arguments Examples

Description

Copy a file or a folder to another location in the Opal file system

Usage

1
opal.file_cp(opal, source, destination)

Arguments

opal

Opal object.

source

Path to the file in the Opal file system.

destination

New path to the file in the Opal file system.

Examples

1
2
3
4
5
6
7
8
## Not run: 
# copy a file to another folder
opal.file_cp(o, '/home/administrator/export/some-data.csv', '/home/userx/deliverables')

# copy recursively a folder to another folder
opal.file_cp(o, '/home/administrator/export', '/home/userx/deliverables')

## End(Not run)

datashield/opal documentation built on May 14, 2019, 7:53 p.m.