R211x-HP Flexfabric 11900 Fundamentals Configuration Guide
93
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
IMPORTANT:
Do not use the delete command to delete files from the recycle bin. To delete files from the recycle bin, use
the reset recycle-bin command.
Deleting files from the recycle bin
The device supports multiple storage media. Each storage medium has a recycle bin of its own.
A recycle bin is a folder named .trash in the root directory of the storage medium.
To view which files or directories are in a recycle bin, use either of the following methods:
• Enter the storage medium and execute the dir/all .trash command.
• Execute the cd .trash command to enter the recycle bin folder and then execute the dir command.
To delete files from a recycle bin, perform the following task in user view:
Task Command
Delete files from the recycle bin. reset recycle-bin [ /force ]
Calculating the digest of a file
The digest of a file can be used to verify 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.
Perform this task in user view.
Task Command
Calculate the digest of a file. sha256sum file-url
Managing directories
CAUTION:
To avoid file system corruption:
•
In standalone mode, do not install or remove storage media or perform active/standby switchover during
directory operations.
• In IRF mode, do not install or remove storage media or perform a switchover between the active MPU of the IRF
fabric and the standby MPU of the IRF fabric during directory operations.
You can perform the following directory management tasks:










