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
- In the first form of this command, the second argument must not be an existing directory. The file
source_entry
will be renameddest_entry
. - 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 concatenatingdest_dir
, a path separator character and the final component ofsource_entry
. - In both forms, if
source_entry
is a directory, the entire directory tree rooted atsource_entry
will be copied and then deleted. Additionally, bothsource_entry
anddest_entry
ordest_dir
must specify locations on the same volume.