File Management Tasks
Page 72
7950 SR OS Basic System Configuration Guide
Moving Files
Use the
move
command to move a file or directory from one location to another.
Use the CLI syntax displayed below to move files:
CLI Syntax:
file>
move
old-file-url new-file-url
[force]
The following displays an example of the command syntax:
Example
:
A:ALA-1>file cf1:\test1\test2\test3\ # move test.cfg cf1:\test1
cf1:\test1\test2\test3\test.cfg
A:ALA-1>file cf1:\test1\test2\test3\ # cd ..
A:ALA-1>file cf1:\test1\test2\ # cd ..
A:ALA-1>file cf1:\test1\ # dir
Directory of cf1:\test1\
05/04/2006 07:58a <DIR> .
05/04/2006 07:06a <DIR> ..
05/04/2006 07:06a <DIR> test2
05/04/2006 07:58a 25278 test.cfg
1 File(s) 25278 bytes.
3 Dir(s) 1056256 bytes free.
A:ALA-1>file cf1:\test1\ #
Removing Files and Deleting Directories
Use the
delete
and
rd
commands to delete files and remove directories. Directories must be
empty in order to delete them. When file or directories are deleted they cannot be recovered.
Use the CLI syntax displayed below to delete files and remove directories:
CLI Syntax:
file>
delete
file-url
[force]
rd
file-url
[force]
The following displays an example of the command syntax:
A:ALA-1>file cf1:\test1\ # delete test.cfg
A:ALA-1>file cf1:\test1\ # delete abc.cfg
A:ALA-1>file cf1:\test1\test2\ # cd test3
A:ALA-1>file cf1:\test1\test2\test3\ # cd ..
A:ALA-1>file cf1:\test1\test2\ # rd test3
A:ALA-1>file cf1:\test1\test2\ # cd ..
A:ALA-1>file cf1:\test1\ # rd test2
A:ALA-1>file cf1:\test1\ # cd ..
A:ALA-1>file cf1:\ # rd test1
A:ALA-1>file cf1:\ #
Summary of Contents for 7950 XRS Series
Page 8: ...Page 8 7950 SR OS Basic System Configuration Guide List of Tables...
Page 10: ...Page 10 7950 SR OS Basic System Configuration Guide List of Figures...
Page 14: ...Preface Page 14 7950 SR OS Basic System Configuration Guide...
Page 46: ...VI Editor Page 46 7950 SR OS Basic System Configuration Guide...
Page 76: ...File Management Tasks Page 76 7950 SR OS Basic System Configuration Guide...
Page 78: ...File Command Reference Page 78 7950 SR OS Basic System Configuration Guide...
Page 172: ...Basic CLI Commands Page 172 7950 SR OS Basic System Configuration Guide...
Page 184: ...Configuration Notes Page 184 7950 SR OS Basic System Configuration Guide...
Page 214: ...DNS Configuration Commands Page 214 7950 SR OS Basic System Configuration Guide...
Page 220: ...Show Commands Page 220 7950 SR OS Basic System Configuration Guide...
Page 494: ...System Commands Page 494 7950 SR OS Basic System Configuration Guide...
Page 500: ...Standards and Protocols Page 500 Standards and Protocols...