Skip to content

Fast, pattern-based file searches in Emacs with a clean Dired interface.

License

Notifications You must be signed in to change notification settings

emacselements/easy-find

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

easy-find

Simple searching for files by types in Emacs, inspired by Nemo file manager.

Description

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.

Installation

Manual Installation

  1. Download easy-find.el
  2. Place in your Emacs load path
  3. Add to your init file:
(require 'easy-find)

MELPA (coming soon)

(use-package easy-find
  :ensure t)

Usage

Nemo-Style Patterns

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

Basic Search

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 files
  • report*|summary* - Find files starting with "report" or "summary"

Some Predefined Search Functions

  • easy-find-videos - Video files
  • easy-find-images - Image files
  • easy-find-documents - Document files
  • easy-find-text - Text files (md, org, txt)
  • easy-find-org - Org mode files
  • easy-find-pdf - PDF files
  • easy-find-txt - Text files
  • easy-find-md - Markdown files
  • easy-find-audio - Audio files
  • easy-find-compressed - Archive files
  • easy-find-cleanup - Various file types for cleanup

Features

  • 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

Video

Watch a video on easy-find

Requirements

  • Emacs 24.1+
  • Find command (standard on Unix systems)

License

GPL-3.0

Author

Raoul Comninos

About

Fast, pattern-based file searches in Emacs with a clean Dired interface.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published