Install
1
Install the plugin$
npx claudepluginhub danielrosehill/claude-code-plugins --plugin linux-desktop-mgmtWant just this command?
Then install: npx claudepluginhub u/[userId]/[slug]
Description
Identify and safely clean up old/leftover files on the filesystem:
Namespace
filesystem/Command Content
Identify and safely clean up old/leftover files on the filesystem:
- Find old log files:
find /var/log -type f -mtime +30 -size +100M - Check old temp files:
find /tmp -type f -mtime +30 - Identify old backup files:
find ~/backups -type f -mtime +90 - Check for core dumps:
find / -name "core.*" 2>/dev/null - Find large old files in home:
find ~ -type f -size +500M -mtime +60 - Check for old Docker logs:
du -sh /var/lib/docker/containers/*/*-json.log - Find duplicate files (if fdupes installed)
- Check package manager cache:
du -sh /var/cache/apt/archives - Look for old downloads:
find ~/Downloads -type f -mtime +90 2>/dev/null
IMPORTANT: DO NOT delete anything automatically. Only identify candidates.
Provide Daniel with:
- List of cleanup candidates organized by:
- Old log files (with sizes)
- Temp files past retention
- Old backups past retention policy
- Large old files
- Core dumps
- Package cache
- Estimated space recoverable for each category
- Recommended retention policies
- Safe cleanup commands for Daniel to review and approve
- Risks and considerations for each cleanup action
Require explicit approval before any deletions
Stats
Stars1
Forks0
Last CommitNov 15, 2025