ssrm
CLI tool to remove macOS screenshots and screen recordings.
Installation
Usage
# Remove screenshots from Desktop (default)
# Remove from specific directory
# Include screen recordings
# Preview without deleting (dry run)
# Move to trash instead of permanent delete
# Recursive search
# Filter by date
# Skip confirmation
Options
| Flag | Description |
|---|---|
-n, --dry-run |
Preview files without removing |
-t, --trash |
Move to trash instead of delete |
-v, --videos |
Include screen recordings |
-r, --recursive |
Search subdirectories |
-y, --yes |
Skip confirmation prompt |
-q, --quiet |
Suppress output |
--verbose |
Show detailed output |
--before DATE |
Only files before date (YYYY-MM-DD) |
--after DATE |
Only files after date (YYYY-MM-DD) |
Config File
Create ~/.config/ssrm.toml:
= true
= false
= false
= "~/Desktop"
License
MIT