Renaming a file, Copying a file, Moving a file – H3C Technologies H3C SecBlade LB Cards User Manual
Page 88: Deleting/restoring a file
79
Task Command
Remarks
Display the contents of a file.
more file-url
Only text files can be displayed.
Renaming a file
Perform this task in user view.
Task Command
Rename a file.
rename fileurl-source fileurl-dest
Copying a file
Perform this task in user view.
Task Command
Copy a file.
copy fileurl-source fileurl-dest
Moving a file
Perform this task in user view.
Task Command
Move a file.
move fileurl-source fileurl-dest
Deleting/restoring a file
You can delete a file permanently or move it to the recycle bin. A file moved to the recycle bin can be
restored, but a permanently deleted file cannot.
A file in the recycle bin occupies storage space. To release the occupied space, execute the reset
recycle-bin command in the directory that holds the file. To save storage space, periodically empty the
recycle bin with the reset recycle-bin command.
Perform the following tasks in user view:
Task Command
Delete a file by moving it to the recycle bin.
delete file-url
Restore a file from the recycle bin.
undelete file-url
Delete a file permanently.
delete /unreserved file-url