Reset Recycle-Bin - H3C S5830V2 Command Reference Manual

Switch series fundamentals
Hide thumbs Also See for S5830V2:
Table of Contents

Advertisement

Parameters
fileurl-source: Specifies the name of the source file or folder.
fileurl-dest: Specifies the name of the destination file or folder.
Usage guidelines
This command is not executed if the destination file or folder name is already used by an existing file
or folder in the current working directory.
Examples
# Rename the copy.cfg file as test.cfg.
<Sysname> rename copy.cfg test.cfg
Rename flash:/copy.cfg as flash:/test.cfg?[Y/N]:y
Renaming flash:/copy.cfg as flash:/test.cfg... Done.

reset recycle-bin

Use reset recycle-bin to delete files from the recycle bin.
Syntax
reset recycle-bin [ /force ]
Views
User view
Parameters
/force: Deletes all files in the recycle bin without prompting for confirmation. If you do not specify this
option, the command prompts you to confirm the deletion.
Usage guidelines
The delete file-url command only moves a file to the recycle bin. To permanently delete the file, use
the reset recycle-bin command to clear the recycle bin.
If a file is corrupted, you might not be able to delete the file by using the reset recycle-bin command.
In this case, use the reset recycle-bin /force command.
Examples
# Empty the recycle bin. (In this example there are two files in the recycle bin.)
<Sysname> reset recycle-bin
Clear flash:/a.cfg?[Y/N]:y
Clearing file flash:/a.cfg... Done.
Clear flash:/b.cfg?[Y/N]:y
Clearing file flash:/b.cfg... Done.
# Delete the b.cfg file from the recycle bin. (In this example there are two files in the recycle bin.)
<Sysname> reset recycle-bin
Clear flash:/a.cfg?[Y/N]:n
Clear flash:/b.cfg?[Y/N]:y
Clearing file flash:/b.cfg... Done.
Related commands
delete
128

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5820v2

Table of Contents