fs_mv

Move files.

Usages

fs_mv [source_entry] [dest_entry]
fs_mv [source_entry] [dest_dir]

Arguments

source_entry

Source entry path.

dest_entry

Destination entry path.

dest_dir

Destination directory path.

Output

None.

Required Configuration

Available only if FS_SHELL_CFG_MV_EN is DEF_ENABLED and FS_CFG_RD_ONLY_EN is DEF_DISABLED.

Notes/Warnings

  1. In the first form of this command, the second argument must not be an existing directory. The file source_entry will be renamed dest_entry.
  2. In the second form of this command, the second argument must be an existing directory. source_entry will be renamed to an entry with name formed by concatenating dest_dir, a path separator character and the final component of source_entry.
  3. In both forms, if source_entry is a directory, the entire directory tree rooted at source_entry will be copied and then deleted. Additionally, both source_entry and dest_entry or dest_dir must specify locations on the same volume.