EasyManua.ls Logo

Digi TransPort - Page 778

Digi TransPort
813 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Manage files
Digi TransPort User Guide 778
You can also use wildcards with the dir command in order to narrow your search. The * character
can represent one or more characters in the filename. For example, dir fw*.txt will list only the
fw.txt and fwstat.txt files, if they are present on the TransPort.
FLOCK command: Lock files
The flock command prevents any further writing to the FLASH memory. This means that no files
can be written to, added to or deleted from the filing system.
FUNLOCK command: Unlock files
The funlock command unlocks the FLASH memory if it had been locked using the flock
command. Files can then be added, deleted or copied to the filing system.
MOVE command: Move a file
The move command replaces one file with another while retaining the original filename. The
format is:
move <fromfile> <tofile>
For example, the command:
move fw-temp.txt fw.txt
deletes the file called fw.txt and then rename the file called fw-temp.txt as fw.txt.
REN command: Rename a file
The ren command renames files in the filing system. The format is:
ren <oldfilename> <newfilename>
SCAN/SCANR command: Scan the file system
The scan command performs a diagnostic check on the file system and reports any errors that
are found. For example:
scan
Please wait...
direct ....ok
sbios ....ok
mirror ....ok
image ....ok, data ok
sregs.dat ....ok
x3prof ....ok
CAcert.cer ....ok
The scanning process may take several seconds so you should not enter any other commands
until the results are listed.
The scanr command works in a similar fashion, except that it will return ERROR if any file is in
error. This is useful when used with scripts that can look for the ERROR failure result.

Table of Contents

Related product manuals