18
437
Syntax
url new-url
rename
Parameters
•
url
—Specifies the URL of the file or directory to be renamed. The
predefined and network URLs cannot be configured.
•
new-url
—Specifies the new URL of the renamed file or directory. The
predefined and network URLs cannot be configured.
Command Mode
Privileged EXEC mode
User Guidelines
url
new-url
The
and
arguments must specifies the same driver.
The command cannot rename a network file or network directory.
The command cannot rename a file or directory into the flash://system directory.
Examples
Example 1. The following example renames the flash://bin/text1.txt file to
flash://archive/text1sav.txt:
switchxxxxxx# cd flash://archive
switchxxxxxx# rename flash://bin/text1.txt ./text1sav.txt
Example 2. The following example renames the flash://a/b directory to the
flash://e/g/h directory:
switchxxxxxx# pwd
flash://a/b/c/d
switchxxxxxx> dir flash://a
Permissions
• d-directory
• r-readable
• w-writable
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
File System Commands