This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-03-17
Channels
- # announcements (6)
- # babashka (2)
- # babashka-sci-dev (1)
- # beginners (74)
- # calva (3)
- # cider (33)
- # clj-kondo (19)
- # cljsrn (10)
- # clojure (75)
- # clojure-dev (11)
- # clojure-europe (39)
- # clojure-italy (1)
- # clojure-nl (1)
- # clojure-spec (4)
- # clojure-uk (6)
- # clojurescript (139)
- # code-reviews (8)
- # core-typed (7)
- # data-science (1)
- # docs (2)
- # emacs (11)
- # events (1)
- # introduce-yourself (8)
- # lsp (4)
- # malli (10)
- # off-topic (15)
- # pedestal (5)
- # podcasts-discuss (4)
- # polylith (18)
- # re-frame (6)
- # react (1)
- # reagent (18)
- # reitit (6)
- # releases (2)
- # rewrite-clj (1)
- # spacemacs (15)
- # sql (2)
- # vscode (5)
What's the best way to rename a bunch of files? I can get an occur buffer via projectile-find-file, and I can edit it, but when I try to save it just prompts me for a file to save the changes in, instead of renaming all the files.
I've now spent way more time than it would take to manually do them one by one, but I'm determined to do it the emacs way :p
I imagine something like this? http://pragmaticemacs.com/emacs/dired-rename-multiple-files/
that's just in one directory, though
this feels like a problem best solved in a shell, to me, though
Yeah, I may have to - my files are not in the same directory. Thanks for the link, though, dired is great!
Please do report back if you figure it out - I'm curious! If you revert to Unix tools, "find ... -exec ..." might work. https://unix.stackexchange.com/questions/227662/how-to-rename-multiple-files-using-find