Renaming a file, Copying a file, Moving a file – H3C Technologies H3C SecBlade NetStream Cards User Manual

Page 242: Deleting a file, Restoring a file from the recycle bin

Advertising
background image

227

Renaming a file

To do…

Use the command…

Remarks

Rename a file

rename fileurl-source fileurl-dest

Required
Available in user view

Copying a file

To do…

Use the command…

Remarks

Copy a file

copy fileurl-source fileurl-dest

Required
Available in user view

Moving a file

To do…

Use the command…

Remarks

Move a file

move fileurl-source fileurl-dest

Required
Available in user view

Deleting a file

To do…

Use the command…

Remarks

Move a file to the recycle bin or
delete it permanently

delete [ /unreserved ] file-url

Required
Available in user view

CAUTION:

The files in the recycle bin still occupy storage space. To delete a file in the recycle bin, execute the reset
recycle-bin command in the directory to which the file originally belongs. To save storage space, empty

the recycle bin periodically with the reset recycle-bin command.

The delete /unreserved

file-url command deletes a file permanently and the action cannot be undone.

Execution of this command equals execution of the delete

file-url command and then the reset

recycle-bin command in the same directory.

Restoring a file from the recycle bin

To do…

Use the command…

Remarks

Restore a file from the recycle bin

undelete file-url

Required
Available in user view

Advertising