Arduino Function: SD.rmdir

Description

This function remove a directory, that must be empty, from the SD card.

Syntax

SD.rmdir(dirname)

Parameters

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

Returns

 True:the removal of the directory succeeded, False: directory not removed (if the directory didn't exist, the return value is unspecified).


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc