R3303-HP HSR6800 Routers Fundamentals Configuration Guide
98
Moving a file
Perform this task in user view.
Task Command
Move a file. move fileurl-source fileurl-dest
Deleting/restoring a file
You can delete a file permanently or move it to the recycle bin. A file moved to the recycle bin can be
restored, but a permanently deleted file cannot.
A file in the recycle bin occupies storage space. To release the occupied space, execute the reset
recycle-bin command in the directory that holds the file. To save storage space, periodically empty the
recycle bin with the reset recycle-bin command.
Perform the following tasks in user view:
Task Command
Delete a file by moving it to the recycle bin. delete file-url
Restore a file from the recycle bin. undelete file-url
Delete a file permanently. delete /unreserved file-url
Emptying the recycle bin
Ste
p
Command
Remarks
1. Enter the original working
directory of the file to be
deleted in user view.
cd { directory | .. | / }
Skip this step if the original
directory of the file is the current
working directory.
2. Empty the recycle bin.
reset recycle-bin [ /force ] N/A
Calculating the digest of a file
The digest of a file can be used to verify the file integrity. For example, you can calculate the digest of a
software image file and compare it with that provided on the HP website to verify whether the file has
been tampered with.
To calculate the digest of a file:
Step Command
1. Enter system view.
system-view
2. Calculate the digest of a file.
crypto-digest sha256 file file-url