Using any of the standard Robot libraries, is it possible to recursively copy the contents of a directory to an existing destination directory?
Basically, I'm looking for the equivalent of the following shell command: cp -r foo/. bar
(note the trailing dot)
I tried Copy Directory
but this creates a directory foo
inside bar
(as documented) and it doesn't stop doing that even when supplying the trailing dot. Copy Files
chokes when it encounters a directory.
Is there anything I overlooked? Or do I need to just call cp -r
myself?