...
fs_cp [source_file] [dest_file]
fs_cp [source_file] [dest_dir]
Arguments
source_file
Source file path.
...
Available only if FS_SHELL_CFG_CP_EN
is DEF_ENABLED
and FS_CFG_RD_ONLY_EN
is DEF_DISABLED
.
Notes/Warnings
- In the first form of this command, neither argument may be an existing directory. The contents of
source_file
will be copied to a file nameddest_file
located in the same directory assource_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 concatenatingdest_dir
, a path separator character and the final component ofsource_file
.