beautypg.com

Emptying the recycle bin, Batch operations, Storage medium operations – H3C Technologies H3C S5120 Series Switches User Manual

Page 606: Managing the space of a storage medium, Storage, Medium operations

background image

1-5

Emptying the Recycle Bin

To do…

Use the command…

Remarks

Enter the original working
directory of the file to be
deleted

cd { directory | .. | / }

Optional

If the original directory of the file
to be deleted is not the current
working directory, this
command is required.

Available in user view

Delete the file under the current
directory and in the recycle bin

reset recycle-bin [ /force ]

Required

Available in user view

Batch Operations

A batch file is a set of executable commands. Executing a batch file equals executing the commands in

the batch file one by one.

The following steps are recommended to execute a batch file:

1) Edit the batch file on your PC.

2) Download the batch file to the device. If the suffix of the file is not .bat, use the rename command

to change the suffix to .bat.

3) Execute the batch file.

Follow the steps below to execute a batch file:

To do…

Use the command…

Remarks

Enter system view

system-view

Execute a batch file

execute filename

Required

Execution of a batch file does not guarantee the successful execution of every command in the batch

file. If a command has error settings or the conditions for executing the command are not satisfied, the

system will skip the command to the next one.

Storage Medium Operations

Managing the Space of a Storage Medium

When some space of a storage medium becomes inaccessible due to abnormal operations for example,

you can use the fixdisk command to restore the space of the storage medium. The execution of the

format command will format the storage medium, and all the data on the storage medium will be

deleted.

Use the following commands to manage the storage medium space: