saveenv (save environment to persistent storage)¶
saveenv [ENVFS] [DIRECTORY]
Save the files in DIRECTORY to the persistent storage device ENVFS.
ENVFS is usually a block in flash but can be any other file. If omitted, DIRECTORY defaults to /env and ENVFS defaults to /dev/env0. Note that envfs can only handle files, directories are being skipped silently.