I want to find...

Search

Shares

Table of Content

SD.rmdir()

[SD]

Description

Remove a directory from the SD card. The directory must be empty.

Syntax

SD.rmdir(dir_name)

Parameters

dir_name: the name of the directory to remove, with sub-directories separated by forward-slashes, /

Returns

true if the removal of the directory succeeded, false if not. (if the directory didn’t exist, the return value is unspecified)

See also


Libraries Reference Home

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

Leave a Comment

Scroll to Top