Command editfile

The command editfile is used to edit a file in Walk DB format.

Parameters

  1. filename [string]
    File name.
  2. key [string]
    Key.
  3. value [integer or string]
    New value for the key.

Example

Example Walk DB

country=USA
state=California
city=Los Angeles
population=3.792.621

In the example above the file test.txt has been downloaded with the command downloadFile .

The command editfile makes an edit on the key Population changing the value from 3.792.621 to 3.792.700.