Save the files in <directory> to the persistent storage device <envfs>. <envfs> is normally a block in flash, but could be any other file.
If ommitted <directory> defaults to /env and <envfs> defaults to /dev/env0.
/env
/dev/env0