MneExperiment.rm(self, temp, inclusive=False, confirm=False, **constants)

Remove all files corresponding to a template

Asks for confirmation before deleting anything. Uses glob, so individual templates can be set to ‘*’.

temp : str

Name of the path template for which to find and delete files.

inclusive : bool

Treat all unspecified fields as * (default False).

confirm : bool

Confirm removal of the selected files. If False (default) the user is prompted for confirmation with a list of files; if True, the files are removed immediately.

**others :**

Set field values (values can be ‘*’ to match all).

See also

Find all files matching a template.
Copy files
Move files.