File MIES_MiesUtilities_DataManagement.ipf

This file holds MIES utility functions for data handling.

Functions

variable KillOrMoveToTrash(WaveOrNull wv = defaultValue, dfref dfr = defaultValue)

Convenience wrapper for KillOrMoveToTrashPath()

variable KillOrMoveToTrashPath(string path)

Delete a datafolder or wave. If this is not possible, because Igor has locked the file, the wave or datafolder is moved into a trash folder named root:mies:trash_$digit.

The trash folders will be removed, if possible, from KillTemporaries().

Parameters:

path – absolute path to a datafolder or wave

variable MoveToTrash(WaveOrNull wv = defaultValue, dfref dfr = defaultValue)
variable KillTrashFolders()