134
Views
User view
Predefined user roles
network-admin
mdc-admin
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
rmdir
Use
rmdir
to remove a folder.
Syntax
rmdir
directory
Views
User view
Predefined user roles
network-admin
mdc-admin
Parameters
directory
: Specifies a folder name.