Deleting Files From The Recycle Bin; Calculating The Digest Of A File; Managing Directories - HP 10500 Series Configuration Manual

Hide thumbs Also See for 10500 Series:
Table of Contents

Advertisement

Task
Delete a file by moving it to the recycle bin.
Restore a file from the recycle bin.
Delete a file permanently.
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
Delete files from the recycle bin.

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
Calculate the digest of a file.

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:
Command
delete file-url
undelete file-url
delete /unreserved file-url
Command
reset recycle-bin [ /force ]
Command
sha256sum file-url
93

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents