Deleting Files From The Recycle Bin; Managing Directories; Displaying Directory Information - HP 12500 Configuration Manual

Routing switch 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.
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 under 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.

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.
To avoid file system corruption in IRF mode, do not install or remove storage media or perform a
switchover between the active MPU of the IRF fabric and a standby MPU of the IRF fabric during
directory operations.
You can create or remove a directory, display or change the current working directory, and display a
specific directory.
Before you create or remove a directory on a USB disk, make sure the disk is not write protected.

Displaying directory information

Perform this task in user view.
Task
Display directory or file information.
Command
delete file-url
undelete file-url
delete /unreserved file-url
Command
reset recycle-bin [ /force ]
Command
dir [ /all ] [ file-url | /all-filesystems ]
82

Advertisement

Table of Contents
loading

Table of Contents