Batch operations, Restoring a file from the recycle bin, Emptying the recycle bin – H3C Technologies H3C S7500E Series Switches User Manual

Page 128

Advertising
background image

8-7

Restoring a File from the Recycle Bin

To do…

Use the command…

Remarks

Restore a file from the recycle bin

undelete file-url

Required

Available in user view

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

Advertising