move

Use move to move a file.

Syntax

move fileurl-source fileurl-dest

Views

User view

Predefined user roles

network-admin

mdc-admin

Parameters

fileurl-source: Specifies the name of the source file.

fileurl-dest: Specifies the name of the destination file or folder.

Usage guidelines

If you specify a destination folder, the system moves the source file to the specified folder without changing the file name.

Examples

# Move the flash:/test/sample.txt file to flash:/, and save it as 1.txt.

<Sysname> move test/sample.txt 1.txt
Move flash:/test/sample.txt to flash:/1.txt?[Y/N]:y
Moving file flash:/test/sample.txt to flash:/1.txt ...Done.

# Move the b.cfg file to the folder test2.

<Sysname> move b.cfg test2
Move flash:/b.cfg to flash:/test2/b.cfg?[Y/N]:y
Moving file flash:/b.cfg to flash:/test2/b.cfg... Done.