Format
drive:/[path/]file-name
Managing files
CAUTION:
To avoid file system corruption, do not perform master/subordinate switchover during file operations.
You can display directory and file information, display file contents, rename, copy, move, remove, restore,
delete, archive, and extract files, and calculate the digests of files for file integrity verification.
You can create a file by copying, downloading, or using the save command. For more information about
downloading a file, see "Configuring FTP" and "Configuring TFTP." For more information about the save
command, see Fundamentals Command Reference.
Displaying file information
Perform this task in user view.
Task
Display folder or file information.
Displaying the contents of a text file
Perform this task in user view.
Task
Display the contents of a text file.
Renaming a file
Perform this task in user view.
Task
Rename a file.
Description
Specifies a file in a storage medium on
the device.
The drive argument represents the
storage medium name. Typically, the
storage medium name is flash or cfa0.
If the device has only one storage
medium, the drive argument is
optional.
86
Example
flash:/test/a.cfg indicates a file named
a.cfg in the test folder in the root directory
of the flash memory.
Command
dir [ /all ] [ file-url | /all-filesystems ]
Command
more file-url
Command
rename fileurl-source fileurl-dest