Deleting/Restoring A File; Deleting Files From The Recycle Bin; Calculating The Digest Of A File - HP 5920 series Fundamentals Configuration Manual

Hide thumbs Also See for 5920 series:
Table of Contents

Advertisement

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.
Files in the recycle bin occupy storage space. To save storage space, periodically empty the recycle bin
with the reset recycle-bin command.
Perform the following tasks in user view:
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. If a storage medium is not partitioned, it has a recycle bin
of its own. If a storage medium is partitioned, each partition has its own recycle bin.
A recycle bin is a folder named .trash in the root directory of the storage medium or partition.
To view which files or directories are in a recycle bin, use either of the following methods:
Enter the storage medium or partition 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 a software image
file's digest and compare it with the digest on the HP website.
Perform this task in user view.
Task
Calculate the digest of a file.
Command
delete file-url
undelete file-url
delete /unreserved file-url
Command
reset recycle-bin [ /force ]
Command
To use the SHA-256 digest algorithm:
sha256sum filename
To use the MD5 digest algorithm:
md5sum filename
86

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents