- Additional requirement(s)
- Plesk Software
- License(s)
- You may not redistribute the files in whole or in part. You may not rent, lease, loan, custom changes and/or development that’s including private development, sub-license, sell, assign, pledge, transfer or otherwise dispose of the files in any form without prior consent.
- Visible branding(s)
- No
Info:
.DS_Store Cleaner removes macOS Finder metadata files named `.DS_Store` from a Plesk for Linux server on a scheduled task.
Features:
Limitations:
Package the extension as a ZIP archive and install it through Plesk Extensions or the Plesk CLI:
Open the extension from the Plesk Extensions page to turn scheduled cleanup on or off, scan for matching files, or run cleanup immediately.
.DS_Store Cleaner removes macOS Finder metadata files named `.DS_Store` from a Plesk for Linux server on a scheduled task.
Features:
- Runs a daily scheduled cleanup task managed through the Plesk scheduler.
- Provides an administrator-only settings page to enable or disable scheduled cleanup.
- Provides an administrator-only dry-run scan that counts matching files without deleting them.
- Provides an administrator-only action to run cleanup immediately.
- Disables the Plesk scheduler task when cleanup is turned off.
- Uses a privileged Plesk utility for server-wide deletion instead of exposing delete operations through a public web endpoint.
- Skips virtual and transient filesystem areas such as `/proc`, `/sys`, `/dev`, `/run`, `/tmp`, `/var/tmp`, `/var/run`, `/mnt`, `/media`, and `/lost+found`.
- Stores only non-sensitive operational settings and the latest cleanup summary.
- Shows the latest cleanup or scan result as localized status fields instead of raw JSON.
Limitations:
- This extension supports Plesk for Linux only.
- The cleanup task deletes files named exactly `.DS_Store`; it does not remove other macOS metadata such as `._*` AppleDouble files.
- Server-wide scans can take time on very large servers. Scheduled cleanup, manual cleanup, and dry-run scans use the same lock so overlapping runs are skipped.
Package the extension as a ZIP archive and install it through Plesk Extensions or the Plesk CLI:
Code:
```sh
plesk bin extension --install ds-store-cleaner.zip
```
Open the extension from the Plesk Extensions page to turn scheduled cleanup on or off, scan for matching files, or run cleanup immediately.