ChooseNDel is a lightweight, zero-dependency visual media culling and batch deletion tool designed specifically for macOS. It combines native macOS Automator Quick Actions, Bash scripting, and a responsive, browser-based media grid to allow users to quickly review, inspect, select, and delete large batches of images and videos.
- ⚡ Zero Dependencies: Runs purely using native macOS tools (
Bash,osascript,open) and your default web browser. - 🖼️ Comprehensive Format Support:
- Images:
.jpg,.jpeg,.png,.bmp,.gif,.tiff,.heif - Videos:
.mp4,.webm,.ogg
- Images:
- 🎛️ Responsive Grid & Customization:
- Dynamic column count slider (1 to 10 items per row).
- Container width slider (30% to 100%).
- One-click background theme switcher (Dark / Light mode).
- Smart scroll retention that preserves viewport position during layout changes.
- 🎬 Instant Video Preview: Autoplays muted videos on hover and pauses on mouse leave, with a global mute/unmute toggle.
- 🔍 Fullscreen Modal Preview: Detailed high-res preview mode with full keyboard arrow navigation (
Left/Right). - ⌨️ Productive Keyboard & Mouse Controls:
- Click: Toggle selection for deletion.
- Ctrl + Mouse Hover: Continuous mass-selection by simply hovering over media.
- Shift + Click: Open high-resolution full-screen modal view.
- Cmd + A: Select all files.
- R + V: Invert current selection.
- PageDown / Z: Scroll down one row.
- PageUp / A: Scroll up one row.
- D + L: Export selected filenames to
___del.txt. - Escape: Close fullscreen preview modal.
- Clone or download this repository:
git clone https://github.com/nimabhk/ChooseNDel.git
- Double-click
choose n del v1.4.workflowto install it as a macOS Quick Action / Service. - Grant necessary permissions for
AutomatorandFinderunder System Settings > Privacy & Security > Accessibility / Automation if prompted.
The workflow operates in a simple two-phase cycle:
[Target Folder] ---> (Quick Action) ---> [Interactive Web Gallery]
|
(Select & Download)
v
[Deleted Files] <--- (Quick Action) <--- [___del.txt in Folder]
- Right-click on any folder containing images or videos in Finder.
- Navigate to Quick Actions and select Choose & Del.
- A local interactive HTML gallery (
___.html) will automatically open in your default browser alongside a summary dialog showing file counts and folder size.
- Click on media items to mark them with a red border (selected for deletion).
- Use keyboard shortcuts or top toolbar buttons to refine your selection.
- Click Download Selected Files (or press
D + L) to generate and download___del.txt.
- Move the downloaded
___del.txtfile into the target image/video folder. - Right-click the folder and trigger Choose & Del again.
- Confirm the deletion prompt. The selected media files and temporary workspace files will be removed.
This project is licensed under the MIT License - see the LICENSE.txt file for details.