I want something like find-name-dired, but with a regular expression instead of a shell wildcard. Any ideas?
Emacs: Dired the files under the current directory whose name matches a regular expression?
573 Views Asked by Cabezota At
1
There are 1 best solutions below
Related Questions in REGEX
- Check for numeric value with optional commas javascript
- CSV to XML XSLT: How to quote excape
- How can I determine the index of the same set of characters between two strings that are of different lengths?
- Max 3 digits, up to 3 decimals
- Regex for SQL insert query
- Javascript Regex to get specific string from two differently-formatted text blocks
- JavaScript differences beetween new Regex('regex', 'flags') and /regex/flags
- Java replace every Nth specific character (e.g. space) in String
- c# regex spain mobile phone
- Perl Regex: Merge multiple one-character substrings
- Using .css("background-color") for comparison jQuery/Js
- Unexpected NoReverseMatch error when using include() in urls patterns
- RegEx for all the javascript code except comments
- Regex: how to separate username:password?
- Customising a RegExp for international phone numbers
Related Questions in SEARCH
- SQL weight rows by formula
- If Input is focused trigger X else trigger Y
- laravel full-text search with multiple keywords together
- Login form by using a new database, made in VB
- How to search for overloaded methods in a class
- Modifying Tries code in Java
- Doing a multi-column search for an item in a listView control using c#
- T SQL wildcard searching for a zip code
- django rest framework search filter all fields
- how to filter search result with dropdown list in php
- PHP/MySQL search... show all data by default, or show matched data
- Oracle multiple REPLACE options in REGEXP_REPLACE
- Is there a way to get all complete sentences that a search engine (e.g. Google) has indexed that contain two search terms?
- How to search a unknown composite key for dictionary in O(1) in c#
- android java search listview clickedItem
Related Questions in RECURSION
- Needing a private and public method for the same recursive function
- Recursive function in PHP function : how to prevent return value?
- Json implicit format with recursive class definition
- java update all children in list
- recursively editing member variable: All instances have same value
- Editing pseudo_encrypt PostgreSQL function with Recurrsion to Avoid Certain IDs
- How to copy elements from array one to array two using recursion?
- create_progress_bar in recursive functions in R
- How to check that all values are equal in array using recursion?
- String List of filepaths to structured object
- FIFO Stock Valuation Through CTE-Recursion
- Recursion - nth element from last in a linkedlist
- Parsing user entered int into digits not working C++
- reverse a linked list using recursion error
- How to find Relationships between Objects
Related Questions in EMACS
- EMACS-Live + Slime error at startup
- Auto complete of braces in emacs
- tmux + emacs : ctrl is not reconized
- yasnippet weird-input when org-mode :tag: on same line
- Error in Dired sorting on Windows (with Cygwin Emacs)
- ESS produces "Variable binding depth exceeds max-specpdl-size"
- How to simplify the mode-line, and enter evil-insert-state depending on buffer name
- MELPA pointing to non-existent version of multi-term?
- Mark-up for bold and italic in emacs org-mode
- How to get C-` key combo recognized in Emacs under Mac?
- how to install Emacs Prelude system-wide on windows/MinGW?
- Emacs on Windows 8: write-error, bad file descriptor
- Emacs and Skim not in Sync fails to open
- Emacs web mode selection word delimiters include _
- Error loading D:\cygdrive\d\path\to\my\file.pdf
Related Questions in DIRED
- Error in Dired sorting on Windows (with Cygwin Emacs)
- emacs dired reverse date order
- How can I put a buffer into dired mode?
- Emacs: Dired the files under the current directory whose name matches a regular expression?
- Distinguishing files with extensions, from hidden files and no extensions
- Byte compile emacs lisp file: Error: Cannot open load file
- Emacs find-grep-dired then automatically isearch-forward on given regexp
- Prevent Emacs from locking up on large file transfer with dired
- Emacs Dired Behavior
- Sort emacs dired buffer according to custom comparator
- How to sort files in emacs dired?
- How to ZIP files recursively in Emacs
- Case conversion of file name (regexp) in Emacs file browser
- Value of the dired-directory
- How to give the recusive option (-R) to the M command (change the file mod) in emacs dired?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can do what you ask if you use Dired+.
First, use
M-+ M-i, to insert all of the subdirectories here and below into the current Dired buffer - that is, all directories under the current Dired directory.Next, use
% m, to mark all files and directories whose names match a regexp you enter.Next, use
C-M-*, to open Dired on just the files and directories that are marked.You can also do this another way using Dired+, without bothering to insert descendant subdir directories into the ancestor Dired buffer:
Use
M-- M-+ % mto mark all files here and below that match the regexp.Use
M-- M-+ Fto open all of the marked files here and below.Prefix key
M-+has "here-and-below" keys/commands that are similar to commands that act only on the files listed in the current Dired buffer. The commands are essentially the same as those without the prefix key:M-+ % mis the "deep" version of% m,M-+ Fis the "deep" version ofF, and so on.(The negative prefix arg (
M--) tells these commands to ignore any markings of subdirectories themselves, in this Dired buffer and any Dired buffers for descendant directories.)