108
Deleting a file
CAUTION:
• The files in the recycle bin still occupy storage space. To delete a file in the recycle bin, run reset
recycle-bin in the directory to which the file originally belongs. HP recommends you to empty the recycle
bin periodically with reset recycle-bin to save storage space.
• The delete /unreserved
file
-
url
command deletes a file permanently and the action cannot be undone.
Execution of this command equals execution ofdelete
file-url
and then reset recycle-bin in the same
directory.
Task Command
Remarks
Move a file to the recycle bin or delete it
permanently.
delete [ /unreserved ] file-url
Required.
Available in user view.
Restoring a file from the recycle bin
Task Command
Remarks
Restore a file from the recycle bin. undelete file-url
Required.
Available in user view.
Emptying the recycle bin
Ste
Command
Remarks
1. 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.
2. Delete the file in the current
directory and in the recycle
bin.
reset recycle-bin [ /force ]
Required.
Available in user view.
Performing batch operations
CAUTION:
Running a batch file does not guarantee successful execution of every command in the batch file. If a
command has error settings or the conditions for running the command are not satisfied, this command
fails to be executed, and the system skips the command to the next one.