From e740ff2c85047811d271ebde1ac7f9888eeb66b1 Mon Sep 17 00:00:00 2001 From: Saibotk Date: Tue, 3 Dec 2024 01:53:07 +0100 Subject: [PATCH] feat(macos): remove items in trash after 30 days --- macos/.macos | 3 +++ 1 file changed, 3 insertions(+) diff --git a/macos/.macos b/macos/.macos index e7a611c..5bbc929 100644 --- a/macos/.macos +++ b/macos/.macos @@ -325,6 +325,9 @@ defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true # Four-letter codes for the other view modes: `icnv`, `clmv`, `glyv` defaults write com.apple.finder FXPreferredViewStyle -string "Nlsv" +# Enable auto-trash clear after 30 days +defaults write com.apple.finder FXRemoveOldTrashItems -bool true + # Disable the warning before emptying the Trash # defaults write com.apple.finder WarnOnEmptyTrash -bool false