Name
fs mv — Move file
Synopsis
fs mv
{
source
} {
dest
}
Arguments
Name | Type | Description | Default |
---|---|---|---|
source
| String | Pathname of file to move. | |
dest
| String | Pathname to new file location. |
Description
This command moves a file within a filesystem. This command will fail if the destination file already exists, or is in a different filesystem.
Examples
Rename a file:
RedBoot>fs ls tests
d--------- 96 . d--------- 128 .. ---------- 12288 test1 RedBoot>fs mv tests/test1 tests/test2
RedBoot>fs ls tests
d--------- 128 . d--------- 128 .. ---------- 12288 test2 RedBoot>
2024-03-18 | eCosPro Non-Commercial Public License |