---
tag: m0030
title: Delete SD file
brief: Delete a specified file from SD.
author: thinkyhead

group: sdcard

codes: [ M30 ]

notes:
  - Requires [`SDSUPPORT`](/docs/configuration/configuration.html#sd-card)

parameters:
  -
    tag: filename
    optional: false
    description: The filename of the file to delete.

example:
  -
    pre: Delete the file "/path/to/file.gco"
    code: M30 /path/to/file.gco

---

Delete a file from the SD card.
