opal.file_mv {opal}R Documentation

Move and/or rename a file

Description

Move and/or rename a file or a folder in the Opal file system

Usage

opal.file_mv(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

## Not run: 
# move a file to another folder
opal.file_mv(o, '/home/administrator/export/some-data.csv', '/home/userx/deliverables')

# rename a file
opal.file_mv(o, '/home/administrator/export/some-data-20170123.csv', 
                '/home/administrator/export/some-data.csv')

# move and rename a file
opal.file_mv(o, '/home/administrator/export/some-data-20170123.csv', 
                '/home/userx/deliverables/some-data.csv')

## End(Not run)

[Package opal version 2.6.0 ]