Tar List; Undelete - HP 6125XLG Command Reference Manual

Blade
Table of Contents

Advertisement

tar list

tar list
Use tar list to display the names of archived files and folders.
Syntax
tar list archive-file fileurl-dest
Views
User view
Predefined user roles
network-admin
Parameters
archive-file fileurl-dest: Specifies the archive file name. The suffix can be .tar or .tar.gz.
Examples
# Display the names of archived files and folders.
<Sysname> tar list archive-file a.tar.gz
a.cfg
Related commands
tar create
tar extract

undelete

Use undelete to restore a file from the recycle bin.
Syntax
undelete file-url
Views
User view
Predefined user roles
network-admin
Parameters
file-url: Specifies the name of the file to be restored.
Usage guidelines
If another file that has the same name exists in the directory, the system prompts you about whether to
overwrite the existing file. If you enter Y, the existing file is overwritten. If you enter N, the command is not
executed.
Examples
# Restore the copy.cfg file, which was moved from the flash: directory to the recycle bin.
<Sysname>undelete copy.cfg
Undelete flash:/copy.cfg?[Y/N]:y
136

Advertisement

Table of Contents
loading

Table of Contents