3
106 Command Reference for x230 Series Edge Switches C613-50055-01 REV A
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
File Management
Commands
Introduction
This chapter provides an alphabetical reference of AlliedWare Plus™ OS file
management commands.
Filename Syntax
and Keyword
Usage
Many of the commands in this chapter use the placeholder “filename” to represent
the name and location of the file that you want to act on. The following table
explains the syntax of the filename for each different type of file location.
When you copy a
file...
Use this syntax: Example:
Copying in local
Flash memory
flash:[/][<directory>/]<filename> To specify a file in the configs directory
in Flash:
flash:configs/example.cfg
Copying to or from
an SD (or SDHC)
card
card:[/][<directory>/]<filename> To specify a file in the top-level
directory of the SD card:
card:example.cfg
Copying with
HTTP
http://[[<username>:<password>]@]
{<hostname>|<host-ip>}[/<filepath
>]/<filename>
To specify a file in the configs directory
on the server:
http://www.company.com/configs/exa
mple.cfg
Coying with TFTP tftp://[[<location>]/<directory>]
/<filename>
To specify a file in the top-level
directory of the server:
tftp://172.1.1.1/example.cfg
Copying with SCP scp://<username>@<location>[/<dir
ectory>][/<filename>]
To specify a file in the configs directory
on the server, logging on as user “bob”:
e.g.
scp://bob@10.10.0.12/configs/example
.cfg
Copying with SFTP sftp://[[<location>]/<directory>]
/<filename>
To specify a file in the top-level
directory of the server:
sftp://10.0.0.5/example.cfg