...
Anchor
Usages
...
fs_cp [source_file] [dest_file]
Anchor
fs_cp [source_file] [dest_dir]
Arguments
...
source_file
Anchor
Source file path.
...
dest_file
Destination file path.
...
dest_dir
Destination directory path.
...
...
Output
...
Required Configuration
...
FS_SHELL_CFG_CP_EN
is DEF_ENABLED
and FS_CFG_RD_ONLY_EN
is DEF_DISABLED
.Notes/Warnings
Anchor
source_file
will be copied to a file named dest_file
located in the same directory as source_file
.In the second form of this command, the first argument must not be an existing directory and the second argument must be an existing directory. The contents of source_file
will be copied to a file with name formed by concatenating dest_dir
, a path separator character and the final component of source_file
.