Reference   Language | Libraries | Comparison | Changes

Bridge : FileIO Class



A wrapper for the rmdir command, FileSystem.rmdir() removes an empty directory from an SD card. Before removing a directory with a file in it, you must call FileSystem.remove().

This communicates with the Linux distribution through Bridge.


  • FileSystem.rmdir(directory)


directory: the name of the directory to remove.


boolean : true if successful, false if not

See also

Reference Home

Corrections, suggestions, and new documentation should be posted to the Forum.

The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.