S2600E CLI Reference Guide
Command
mode
Usage
guidelines
Examples
Related
commands
1.1.7
Use this command to delete an empty directory.
rmdir directory
Parameter
description
Chapter 1 File System Configuration Commands
Privileged EXEC mode.
This command only supports to move the local file, but not
to transfer the file to the server using the protocol. The
supported prefixes are: usb0/1, flash and slave.
Example 1: Move the
and rename it
Ruijie# rename tmp/log.txt ../config.txt
Example 2: Move the
device:
Ruijie# rename slave:/log.txt usb0:/log.txt
Example 3: Rename the
:
log.txt.bak
Ruijie# rename log.txt log.txt.bak
Example 4: Move the
Ruijie# rename sd0:/rgos.bin flash:/rgos_bak.bin
Example 5: Move the
Ruijie# rename usb0:/test.txt sd0:/test2.txt
Command
delete
copy
rmdir
Parameter
directory
to the upper-level directory
log.txt
:
config.txt
in the slave board to the usb0
log.txt
in the present directory as
log.txt
in the SD card to the flash:
rgos.bin
in the U disk to the SD card:
test.txt
Description
Delete the file.
Copy the file.
Description
Name of the directory to be deleted,
which must be empty
Need help?
Do you have a question about the RG-S2600E Series and is the answer not in the manual?