Coding
PromptBeginner5 minmarkdown
Nano Banana Pro
Agent skill for nano-banana-pro
7
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Sign in to like and favorite skills
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
MacBootTmpDeleter is a macOS utility that automatically deletes temporary files from a designated downloads folder on system boot/login. It uses AppleScript and macOS LaunchAgents to run automatically.
TempFileDeleter.applescript - Main AppleScript that handles file deletionLogCleaner.applescript - AppleScript that cleans up log files weeklycom.jacquesvdm.tempfiledeleter.plist - LaunchAgent for temp file deletion on logincom.jacquesvdm.logcleaner.plist - LaunchAgent for weekly log cleanupinstall.sh - Installation script to set up both LaunchAgents./install.sh~/Library/LaunchAgents/ and load themThe application deletes all files and folders in:
/Users/jacquesvandermerwe/Downloads/_tmp_folder
~/Library/Logs/tempfiledeleter.log~/Library/Logs/tempfiledeleter_error.loglaunchctl unload ~/Library/LaunchAgents/com.jacquesvdm.tempfiledeleter.plist launchctl unload ~/Library/LaunchAgents/com.jacquesvdm.logcleaner.plist rm ~/Library/LaunchAgents/com.jacquesvdm.tempfiledeleter.plist rm ~/Library/LaunchAgents/com.jacquesvdm.logcleaner.plist
To test the scripts manually:
# Test temp file deletion osascript TempFileDeleter.applescript # Test log cleanup osascript LogCleaner.applescript
StartInterval with RunAtLoad ensures missed cleanups are caught upCheck LaunchAgent status:
launchctl list | grep jacquesvdm
View logs:
tail -f ~/Library/Logs/tempfiledeleter.log
Reload services:
./uninstall.sh && ./install.sh