File module: Copy

Copies a local file from one place to another.

Example

space -m file /cp/ -- "/home/user/temporary_files/some_file.txt" "/home/user/temporary_files/copy.txt"

Exit status code is expected to be 0 on success.

Edit this page