← All packages

deleteOldProfiles

Remove excess backup files.

Download .mpackage
Version
4
Author
Mudlet Default Package
Created
24 Aug 2024
Updated
21 Nov 2026

Install from Mudlet's command line

mpkg install deleteOldProfiles

Mudlet 4.20+ with mpkg installed

Or drag it in

Drag into MudletDrop it on the main window

Mudlet 4.11+ · click to download instead

Description

deleteOldProfiles Package

Mudlet continuiously creates backups of important data. This can result in a lot of files. This package deletes old profiles, maps and modules in the "current", "map" and "moduleBackups" folders of the Mudlet home directory that are no longer required.

The commands are;

> delete old profiles [days]
> delete old maps [days]
> delete old modules[days]

Days is optional, the default is 31 days.

The following files are NOT deleted:

  • Files newer than the amount of days specified, or 31 days if not specified.
  • One file for every month before that. Specifically: The first save of every month prior to this; a leftover from an interrupted save does not count.
  • The newest profile save (.xml) or map (.dat/.json), which is the one Mudlet loads, however old it is. Module backups are never loaded, so there it is just the single newest file in the shared folder.
  • A leftover from an interrupted save, when there is no save Mudlet would load.
  • Folders, which are left alone.
-- Examples: 
> delete old profiles   -- deletes profiles older than 31 days  
> delete old maps 10    -- deletes maps older than 10 days

Alias (1)

Script (1)

Files (3)

35 KB unpacked

Select a script or file on the left to preview it here.