9 rmdir, 10 tar create – CANOGA PERKINS 9175 Command Reference User Manual

Page 660

Advertising
background image

CanogaOS Command Reference

39-7

drwxr-xr-x 2 0 Jan 1 1970 log

-rw-r----- 1 1020 Jul 29 19:18 startup-config.conf

-rw-r--r-- 1 10270 Jul 30 10:10 syslog

-rw-r--r-- 1 6886 Jul 29 23:59 test

63.0M bytes total (30.4M bytes free)

Switch# rename flash:/test flash:/test1


Related Commands

39.9 rmdir

To remove an existing directory in a Flash file system, use the rmdir command in Privileged EXEC

mode.


Command Syntax

rmdir directory-name

directory-name

The directory in flash:


Command Mode

Privileged EXEC


Usage

This command is valid only for local file systems


Examples

The following example creates a directory named newdir:

Switch# rmdir flash:/newdir

Are you sure to delete newdir? [yes/no]: y


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:

Advertising