R0106-HP MSR Router Series Fundamentals Configuration Guide(V7)

96
Managing files
CAUTION:
To avoid file system corruption, do not perform the following operations during file operations:
Install or remove storage media.
Perform an active/standby switchover. (On an MSR4000.)
File management includes the following capabilities:
Display directory and file information.
Display file contents.
Rename, copy, move, remove, restore, and delete files.
Calculate the digests of files for file integrity verification.
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.
Make sure a USB disk is not write protected before you rename, compress, decompress, delete, restore,
or move a file on the disk, or copy a file to the disk.
Displaying file information
Perform this task in user view.
Task Command
Display folder or file information. dir [ /all ] [ file-url | /all-filesystems ]
Displaying the contents of a text file
Perform this task in user view.
Task Command
Display the contents of a text file. more file-url
Renaming a file
Perform this task in user view.
Task Command
Rename a file. rename fileurl-source fileurl-dest
Copying a file
Perform this task in user view.