Name
fs cp — Copy file
Synopsis
fs cp
{
source
} {
dest
}
Arguments
Name | Type | Description | Default |
---|---|---|---|
source
| String | Pathname of file to copy. | |
dest
| String | Pathname to new file location. |
Description
This command copies a file from one location to another. Source and destination need not be on the same file system. If the destination file already exists it will be overwritten with the new file contents. This command will fail if the source file does not exist.
Examples
Copy a file:
RedBoot>fs ls /usb
drwxrwxrwx 0 System Volume Information drwxrwxrwx 0 TEST RedBoot>fs cp /boot/LICENCE.broadcom /usb/LICENCE.broadcom
RedBoot>fs ls /usb
drwxrwxrwx 0 System Volume Information drwxrwxrwx 0 TEST -rwxrwxrwx 1494 LICENCE.broadcom RedBoot>
2024-03-18 | eCosPro Non-Commercial Public License |