this post was submitted on 10 Nov 2023
2 points (100.0% liked)

Emacs

310 readers
1 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

Here's something I can't figure out: When using dired to manage files, let's say I have a top level directory with a ton of subdirectories, each with a GoPro video inside (unique name/time/date for each file name). How do I move them all at once to that top level directory for easier management/renaming? I don't want to have to go into each directory and move them one at a time with R. Let's say all of the files are MP4 or HEVC.

you are viewing a single comment's thread
view the rest of the comments
[–] Illiamen@alien.top 1 points 10 months ago (1 children)

You could use M-x find-name-dired to list the files matching a pattern in the directory and subdirectories in a Dired buffer. See: https://www.gnu.org/software/emacs/manual/html_node/emacs/Dired-and-Find.html

The manual also says that you could use the recursive flag for ls, but I've never tried it. See: https://www.gnu.org/software/emacs/manual/html_node/emacs/Subdirectories-in-Dired.html

[–] TyrionBean@alien.top 1 points 10 months ago

I'll give it a shot. Thank you. Sounds like what I need (and what others have suggested as well).