Simple searching for files by types in Emacs, inspired by Nemo file manager.
easy-find provides a convenient interface for searching for types of
files in directories and subdirectories using pipe-delimited patterns,
similar to how Nemo handles file searches. Results are displayed in
Dired buffers with details hidden for cleaner viewing. Great for file
management.
- Download
easy-find.el - Place in your Emacs load path
- Add to your init file:
(require 'easy-find)(use-package easy-find
:ensure t)For users familiar with the Nemo file manager, here is an example of some search patterns for file types:
# VIDEOS
*.mp4 | *.mkv | *.avi | *.mov | *.flv | *.wmv | *.webm | *.vid | *.mpg
# IMAGES
*.jpeg | *.jpg | *.png | *.tif | *.tiff | *.webp
# DOCUMENTS
*.doc | *.docx | *.el | *.md | *.odp | *.odt | *.ods | *.org | *.pdf | *.ppt | *.pptx | *.xlsx
# AUDIO
*.aac | *.flac | *.m4a | *.mp3 | *.ogg | *.wav | *.wma
# COMPRESSED
*.7z | *.bz2 | *.gz | *.par2 | *.rar | *.tar | *.tbz2 | *.tgz | *.xz | *.zip
# CLEAN UP
*.mp3 | *.html | *.jpg | *.m3u | *.nfo | *.nzb | *.par2 | *.sfv | *.srr | *.txt | *.url
M-x easy-find - Search for files using pipe-delimited patterns
Example patterns:
*.org|*.md- Find all org and markdown files*.jpg|*.png|*.gif- Find image filesreport*|summary*- Find files starting with "report" or "summary"
easy-find-videos- Video fileseasy-find-images- Image fileseasy-find-documents- Document fileseasy-find-text- Text files (md, org, txt)easy-find-org- Org mode fileseasy-find-pdf- PDF fileseasy-find-txt- Text fileseasy-find-md- Markdown fileseasy-find-audio- Audio fileseasy-find-compressed- Archive fileseasy-find-cleanup- Various file types for cleanup
- Pipe-delimited search patterns (
*.ext1|*.ext2) - Case-sensitive and case-insensitive searching
- Files only (directories excluded)
- Searches subdirectories
- Clean dired display with hidden details
- Predefined searches for common file types
- Easy to customize
- Emacs 24.1+
- Find command (standard on Unix systems)
GPL-3.0
Raoul Comninos