Questions tagged [find-dired]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
16 views

After query-replace using my-find-files, how to automatically delete-other-windows?

I am following answer for Using Emacs to recursively find and replace in text files not already open My setup: (defun my-find-files () (interactive) (find-dired "~/folder" "-name \\*...
0
votes
1answer
21 views

How to ignore files starting with `flycheck_` on `find-name-dired`?

During my search I keep having an error as follows: Search failed with status 1: find: ‘/home/user/folder/flycheck_Driver.py’: No such file or directory [Q] Is there any way to ignore files as ...
2
votes
1answer
48 views

Tramp `find-dired`: wrong type argument error

If i use find-dired in a remote directory (from Tramp) then I get a wrong type argument: processp, nil error. It works on a local dir. All I pass to find is '-iname "blah"'. /sftp:andreaz@10.0.0.99:...
1
vote
1answer
43 views

How to replace strings including `.` (dot) as first character using dired-do-find-regexp-and-replace

(defun my-find-orgfiles () (interactive) (find-name-dired "." "*py")) (global-set-key (kbd "M-n") 'my-find-orgfiles) Than, t to toggle marked/unmarked files (thus marking them all, since none ...
1
vote
1answer
129 views

find files containing “Emacs”

I employed find within the current directory to find files containing "emacs" $ find . -type f -iname "*emacs*" | nl | tail -3 34 ./sources/tech/20190916 The Emacs Series Exploring ts.el.md ...
0
votes
0answers
36 views

Recursively find and replace default setup

I am following approach for the recursively find and replace in text files not already open. M-x find-name-dired: you will be prompted for a root directory and a filename pattern. Find-name (...
0
votes
2answers
49 views

How can I do a regex search recursively from a directory?

Basically I want a command that can do the following: find /path/dir -type f -print0 | xargs -0 grep -l "foo" Is there an emacs command to do this? If not, then is there a convenient keybinding that ...
1
vote
1answer
119 views

how to do command substitution in eshell generally (NOT just for loop)

How to do command substitution à la Bash in Eshell, and not just for loops? (Unfortunately, while this question asks my question, its answer only provides Eshell for-loop syntax. So please don't dupe ...
2
votes
4answers
134 views

How to find a directory with given depth from current directory?

Is it possible from within Emacs to find directories with a given depth from the current directory from within Emacs and receive their respective location in form of a list? I want it to work cross ...
1
vote
1answer
60 views

Printing a list of folders which has been modified today

Is there any way to export a list of folder names which has been modified today using a dired mode or any other package on emacs
5
votes
2answers
387 views

Find files with find-dired sorting by date and by size

I often use find-dired and find-named-dired. But I wanted to get the results sorted by date and by size. How can I do that?
2
votes
2answers
218 views

Find files like in Nautilus' search

I occasionally find myself using Nautilus instead of dired to search for files and would like to change that. When looking for a file, I often don't know the capitalization of its name which is why I ...
1
vote
1answer
209 views

Cannot use find-dired: setq: Searching for program: is a directory,

The error is raised by shell-command--shell-command-with-editor-mode. But further stack trace is obfuscated by bytecompiled output. Recently I had to set (setq explicit-shell-file-name "bash") to be ...