beautypg.com

Brocade Mobility RFS Controller CLI Reference Guide (Supporting software release 5.5.0.0 and later) User Manual

Page 96

background image

Brocade Mobility RFS Controller CLI Reference Guide

79

53-1003098-01

3

archive tar /xtract [|]

Example

Following examples show how to zip the folder flash:/log/?

rfs4000-229D58#dir flash:/

Directory of flash:/

drwx Wed Jan 30 02:45:10 2013 log

drwx Sat Jan 1 00:00:09 2000 configs

drwx Sat Jan 1 00:00:08 2000 cache

drwx Wed Jan 16 22:26:53 2013 crashinfo

drwx Wed Jan 2 22:23:41 2013 testdir

drwx Wed Jan 16 22:57:14 2013 archived_logs

drwx Sat Jan 1 00:00:08 2000 upgrade

drwx Sat Jan 1 00:00:09 2000 hotspot

drwx Sat Jan 1 00:00:09 2000 floorplans

drwx Sat Jan 1 00:00:09 2000 startuplog

rfs4000-229D58#

rfs4000-229D58#archive tar /create flash:/out.tar flash:/log

log/

log/cfgd.log

log/cfgd.log.1

log/vlan-usage.log

log/anald.log

log/anald.startup

log/dpd2.log

log/dpd2.startup

log/upgrade.log

log/messages.log

log/startup.log

log/hotplug/

log/hotplug/events

log/radius/

rfs4000-229D58#

rfs4000-229D58#dir flash:/

Directory of flash:/

drwx Wed Jan 30 02:45:10 2013 log

drwx Sat Jan 1 00:00:09 2000 configs

drwx Sat Jan 1 00:00:08 2000 cache

drwx Wed Jan 16 22:26:53 2013 crashinfo

drwx Wed Jan 2 22:23:41 2013 testdir

drwx Wed Jan 16 22:57:14 2013 archived_logs

drwx Sat Jan 1 00:00:08 2000 upgrade

drwx Sat Jan 1 00:00:09 2000 hotspot

drwx Sat Jan 1 00:00:09 2000 floorplans

tar

Manipulates (creates, lists or extracts) a tar file

/xtract

Extracts content from a tar file

Defines tar filename

Sets the tar file URL

Specify a directory name. When used with /create, dir is the source directory for the tar file. When used with
/xtract, dir is the destination file where contents of the tar file are extracted.