Folder: Delete Recursive
The module can be used to delete hugh amounts of objects in a folder structure. The restriction for the maximum number of object to be returned by a search are irrelevant for this module.
Designation
- Name
- mc.DeleteRecursive
- Aliases
- FolderDeleteRecursive, CleanUp, mc.CleanUp, ObjectCleanUp
Configuration
- Optionen
- Eingabe
- Test mode (
test-mode
) - Activates a simulation mode
- Folders (
folders
) - A list of folders, that should be deleted
- Also delete named folders (
include-named-folders
) - The folders named in the list of folders to be deleted are also deleted.
- recursive (
recursive
) - Also deletes objects in sub-folders
- Object name (
name
) - Object names must match the given filter
- Object Types (
types
) - Object TypesMögliche Werte: Kalender (
CALE
), Benachrichtigung (CALL
), RA-Solution (CITC
), Client (CLNT
), Code-Tabelle (CODE
), Verbindung (CONN
), Cockpit (CPIT
), Dashboard (DASH
), Dokumentation (DOCU
), Ereignis (EVNT
), Filter (FILTER
), Agent (HOST
), Host-Gruppe (HOSTG
), Agent/Mandanten-Zuordnung (HSTA
), Dateitransfer (JOBF
), Jobgruppe (JOBG
), Include (JOBI
), Job (JOBS
), Workflow (JOBP
), RemoteTaskManager (JOBQ
), Verknüpfung (LINK
), Login (LOGIN
), Schedule (JSCH
), Script (SCRI
), Synchronisation (SYNC
), Zeitzone (TZ
), Benutzer (USER
), Gruppe (USRG
), Variable (VARA
), Stylesheet (XSL
), PromptSet (PRPT
), Queue (QUEUE
), Storage (STORE
), Service Level Objective (SLO
), Periode (PERIOD
)
- Delete links only (
links-only
) - If set only links to objects of the selected types will be deleted
Important
Please note that folders can only be deleted if all objects in the folder have been deleted. By selecting an object name pattern and only some object types, it is possible that folders are not empty.
For security reasons, it is necessary to specify at least one folder. If the objects to be deleted can be found starting from the main folder, then / must be specified as the folder.