/trash-sweep

Macos App: Automatically deletes the oldest files first to maintain the trash size within the specified limit

Primary LanguageSwift

TrashSweep App

TrashSweep Logo

TrashSweep is an application designed to manage and clean up your trash directory using the FIFO (First In, First Out) rule. This ensures that the oldest files are deleted first, keeping your trash directory within a user-defined size limit.

Download

You can download the latest version of TrashSweep from the following link:

Download TrashSweep

For all release versions, visit the following link:

All Releases

Open a Mac app from an unknown developer

  1. On your Mac, choose Apple menu > System Settings, then click Privacy & Security in the sidebar. (You may need to scroll down.)

  2. Go to Security, then click Open.

  3. Click Open Anyway.

This button is available for about an hour after you try to open the app.

  1. Enter your login password, then click OK.

For more detailed instructions, visit the Apple Support page.

Features

  • FIFO Trash Management: Automatically deletes the oldest files first to maintain the trash size within the specified limit.
  • User-Defined Trash Size: Allows users to set a maximum size for the trash directory.

How It Works

  1. FIFO Rule: The application monitors the trash directory and deletes the oldest files first when the total size exceeds the user-defined limit.
  2. Configurable Trash Size: Users can specify the maximum size for the trash directory. The app will ensure that the total size of files in the trash does not exceed this limit.

Usage

  1. Set Trash Size: Define the maximum size for your trash directory in the app settings.
  2. Automatic Cleanup: The app will automatically manage the trash directory, deleting the oldest files first to keep the total size within the specified limit.

Updates

For the latest updates and release notes, please refer to the appcast.xml file.

License

This project is licensed under the MIT License.