Changelog
Uploads that delete themselves
Not every file needs to stay forever: a screenshot for a bug report, a build for a tester, a draft for a quick review. In Aktar 0.5.0 you pick Delete after next to the destination, and the file is gone after 1, 7, 14 or 30 days without you lifting a finger.
- Mac0.5.0
- Windows0.1.2
- iPhone & iPad1.1.0
- Androidcoming soon
Your bucket does the deleting
Expiring files are uploaded under tmp/1d/, tmp/7d/, tmp/14d/ or tmp/30d/ in front of their usual path, and a lifecycle rule in your bucket deletes everything in that folder when the time is up. Aktar doesn't need to be running for that: files are deleted on schedule even when your Mac is off or Aktar is no longer installed, and temporary shares stop piling up in the bucket.
History, the Library and upload notifications show when each expiring file will be deleted. While a duration is picked, the panel says so under the drop zone, so a file you meant to keep doesn't expire by accident.
One click to set up
Delete after becomes available once the destination's bucket has Aktar's rules. Choose Set Up Auto-Delete… in the Delete after menu, or use the Auto-Delete section of the destination in Settings → Destinations. Aktar adds four rules, aktar-expire-1d, aktar-expire-7d, aktar-expire-14d and aktar-expire-30d, and keeps every other rule in the bucket exactly as it was.
Some keys aren't allowed to change lifecycle rules, for example a Cloudflare R2 token with Object Read & Write permission (Admin Read & Write works). In that case Aktar lists the four rules to add in your provider's dashboard, and you check again once they're there.
Changed your mind? Turn Off… in the same section stops offering Delete after for that destination. You can keep the rules, so files already under tmp/ are still deleted on schedule, or remove them.
Raycast, iPhone, iPad and Android
The local API now takes expires= on uploads, which gives the Aktar extension for Raycast a Delete After option of its own. The iPhone, iPad and Android apps get expiring uploads in version 1.1.0. They use the same folders and rules, so a bucket you use on several devices only needs to be set up once.
All changes in this release
New
- Delete after next to the destination picker in the menu bar: 1, 7, 14 or 30 days. Expiring files go under
tmp/{N}d/and the bucket deletes them itself, even when Aktar isn't running. - One-click setup of the bucket's lifecycle rules from the menu bar or Settings → Destinations, leaving the bucket's other rules untouched. If the key can't change lifecycle rules, Aktar shows which ones to add in your provider's dashboard.
- Auto-delete can be turned off per destination, keeping or removing the bucket's rules.
- History, the Library and upload notifications show when an expiring file will be deleted.
- The local API takes
expires=(in days) on uploads and returnsexpiresAt.