10 tar create, 11 tar table – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 733

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 733 of 855

Related Commands

mkdir
dir

39.10 tar create

To create an new tar file in a Flash file system, use the tar create command in Privileged EXEC mode.


Command Syntax

tar create tar-file-name source-directory

tar-file-name

The file name of the new tar file.

source-directory The source directory in flash:


Command Mode

Privileged EXEC


Usage

The source-directory must be a directory.


Examples

The following example creates a tar file named tar1:
Switch# tar create tar1 dir1


Related Commands

tar table
tar xtract

39.11 tar table

To display files in the tar file, use the tar table command in Privileged EXEC mode.


Command Syntax

tar create tar-file-name

tar-file-name

The file name of the tar file.


Command Mode

Privileged EXEC


Usage

The tar-file-name must be a in the flash:.

Advertising