Name

fs rmdir — Delete filesystem directory

Synopsis

fs rmdir { directory }

Arguments

NameTypeDescriptionDefault
directory StringPathname to directory to delete. 

Description

This command deletes a directory from the filesystem. If the directory contains files or other directories then this command will fail.

Examples

Delete directory:

RedBoot> fs ls
d---------       128 .
d---------       128 ..
d---------        96 tests
----------      4096 image
RedBoot> fs rmdir tests
RedBoot> fs ls
d---------       128 .
d---------       128 ..
----------      4096 image
RedBoot>