Download

Custom Disk Clean Targets

Advanced Cleanup

OneMenu allows advanced users to define custom cleanup targets. This feature is powerful and should be used with caution, as it allows for the automatic deletion of files in specified paths.

Supported Path Formats

When defining paths for custom cleanup targets, you can use several formats:

Validation Rules

To prevent accidental deletion of critical system files, OneMenu enforces several validation rules on custom paths.

Strictly Blocked Paths

The following paths and their subdirectories are strictly protected and cannot be used as cleanup targets:

Restricted Areas

Some areas of the file system are restricted to prevent deleting important user or system data. Paths within these folders must be at least 4 levels deep to be considered safe:

Note: /Users/username/Library/Caches is allowed (4 levels deep), while /Users/username/Documents is blocked (3 levels deep) to prevent accidental data loss.

Adding a Custom Target

To add a custom cleanup target:

  1. Open OneMenu Preferences.
  2. Go to the Disk Clean section.
  3. Click the + button in the Custom Cleanup Targets section.
  4. Enter a name for the target, add one or more paths, and choose a category.
  5. Click Add to save the target.

Read Next

Keyboard Cleaning