Renaming Files; Directory Operations On A Compactflash Memory Card; Entering A Directory And Determining Which Directory You Are In - Cisco 2800 Series Manual

Hide thumbs Also See for 2800 Series:
Table of Contents

Advertisement

Directory Operations on a CompactFlash Memory Card

Renaming Files

To rename a file on a CF memory card, enter the rename command in privileged EXEC mode:
Router# dir flash:
Directory of flash:/
1580
63930368 bytes total (51007488 bytes free)
Router# rename flash:c28xx-i-mz.tmp flash:c28xx-i-mz
Destination filename [c28xx-i-mz]?
Router# dir flash:
Directory of flash:/
1580
63930368 bytes total (51007488 bytes free)
Directory Operations on a CompactFlash Memory Card
Directory operations vary according to the formatted file system—Class B or Class C.
The following sections describe directory operations for external CF memory cards on Cisco routers:

Entering a Directory and Determining Which Directory You Are In

To enter a directory of a CF memory card, enter the cd command in privileged EXEC mode. The cd
command specifies or changes the default directory or file system. If you enter cd only, without
specifying a file system, the router enters the default home directory, which is flash.
Router# cd
To determine which directory you are in, enter the pwd command in privileged EXEC mode. The CLI
displays which directory or file system is specified as the default by the cd command.
Router# pwd
flash:
Using CompactFlash Memory Cards
8
3
-rw-
6458388
Mar 01 2004 00:00:58
-rw-
6462268
Mar 06 2004 06:14:02
-rw-
6462268
Mar 06 2004 06:14:02
3
-rw-
6458388
Mar 01 2004 00:01:24
Entering a Directory and Determining Which Directory You Are In, page 8
Creating a New Directory, page 9
Removing a Directory, page 10
c28xx-i-mz.tmp
c28xx-i-mz.3600ata
c28xx-i-mz.3600ata
c28xx-i-mz
OL-5596-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents