Format
[path/]file-name
drive:/[path]/file-name
Managing files
CAUTION:
To avoid file system corruption, do not install or remove storage media or 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
command, see Fundamentals Command Reference.
Before you rename, compress, decompress, delete, restore, or move a file on a USB disk, or copy a file
to a USB disk, make sure the disk is not write protected.
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.
Description
Specifies a file in a specific folder in the
current working directory.
The path argument represents the path
to the file. If the file is in a single-level
folder, specify the folder name for the
argument. If the file is in a nested
folder, separate each folder name by a
forward slash (/).
Specifies a file in a specific storage
medium on the device.
The drive argument represents the
storage medium name, and is typically
flash or cfa0.
The drive argument is required if the
device has multiple storage media.
"Configuring
FTP" and
84
Example
•
test/a.cfg indicates a file named a.cfg
in the test folder in the current working
directory.
•
test/subtest/a.cfg indicates a file
named a.cfg in the subtest subfolder
of the test folder in the current working
directory.
flash:/test/a.cfg indicates a file named
a.cfg in the test folder in the root directory
of the flash memory.
"Configuring
TFTP." For more information about the save
Command
dir [ /all ] [ file-url | /all-filesystems ]
Command
more file-url