HP MSR2000/3000/4000 Router Series Fundamentals Command Reference

144
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 cfa0:/a.cfg?[Y/N]:y
Clearing file cfa0:/a.cfg... Done.
Clear cfa0:/b.cfg?[Y/N]:y
Clearing file cfa0:/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 cfa0:/a.cfg?[Y/N]:n
Clear cfa0:/b.cfg?[Y/N]:y
Clearing file cfa0:/b.cfg... Done.
Related commands
delete
rmdir
Use rmdir to remove a folder.
Syntax
rmdir directory
Views
User view
Predefined user roles
network-admin
Parameters
directory: Specifies a folder name.
Usage guidelines
To remove a directory, you must delete all files and subfolders in the directory permanently or move them
to the recycle bin. If you move them to the recycle bin, executing the rmdir command permanently deletes
them.