# ssrm
CLI tool to remove macOS screenshots and screen recordings.
## Installation
```bash
cargo install ssrm
```
## Usage
```bash
# Remove screenshots from Desktop (default)
ssrm
# Remove from specific directory
ssrm ~/Downloads
# Include screen recordings
ssrm -v
# Preview without deleting (dry run)
ssrm -n
# Move to trash instead of permanent delete
ssrm -t
# Recursive search
ssrm -r
# Filter by date
ssrm --before 2024-06-01 --after 2024-01-01
# Skip confirmation
ssrm -y
```
## Options
| `-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`:
```toml
use_trash = true
include_videos = false
recursive = false
default_dir = "~/Desktop"
```
## License
MIT