Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor10916741091674 fs_cp Anchor10916751091675Copy a file.anchor10927411092741

Usages

...

fs_cp [source_file] [dest_file]
Anchor10916791091679fs_cp [source_file] [dest_dir] Anchor10929491092949

Arguments

...

source_file Anchor10995391099539

Source file path.

...

1091682dest_file Anchor10995401099540

Destination file path.

...

10916831091683dest_dir Anchor10995411099541

Destination directory path.

...

...

Output

...

1091685None. Anchor10934411093441

Required Configuration

...

10916871091687Available only if FS_SHELL_CFG_CP_EN is DEF_ENABLED and FS_CFG_RD_ONLY_EN is DEF_DISABLED. Anchor10936491093649

Notes/Warnings

...

  1. 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 named dest_file located in the same directory as source_file.

...

  1. 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.