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

mdc-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