#dired is a tool that seems super powerful, but I don't use it often enough to stay familiar with the features. This sounds like a great fix to that issue!
The original announcement from the package author:
I missed #KDE#Dolphin's filtering ability in #Emacs#Dired. The dired-goto-file works when you aim at one single file, but it is not enough when you have tens of files and you want to "narrow" your view to files that match certain pattern (regex, glob, or fixed string).
Turns out there is a nice package called dired-narrow that does exactly that with very handy defaults.
Introducing Cleandesk.el, a small collection of functions to rapidly rename and process files in Dired.
Pictures, PDFs and many other kinds of files frequently end up on my Desktop. In the past, I used Hazel and/or Devonthink (both macOS only) to automatically rename and refile. Cleandesk offers an alternative (manual) approach for these tasks from within #Emacs. It draws on #Dired and #fd.
To be sure, vanilla Dired probably can do most of this. But perhaps neither as convenient nor as swift. 😉
Ever since I found out that #emacs#dired allows me to use S to symlink exactly how C and R can be used to copy/rename, I try to always do my symlinks in dired in emacs and not in the terminal.
No one can keep ln -s straight because depending on the specifics, the way your brain deals with sentence ordering can change. From/to, source/destination, all get muddled with here/there. Does it mean that what's here points to what's there or does what's there point to what's here? What's the original which I should not delete gets confusing.
My Elisp package for history in Dired was added to MELPA
repository. 🎂
I added alternative implementation of history with tab-line
mode. 🤹 This implementation work perfect, fast and able to work
under root console or any terminal. ⌘
I also solved in Dired:
selection by region selection, not by marks ●
customization of opening file in other window ●
I am going to write article about configuration of Emacs as a
file manager.
🏄
I posted request to MELPA repository for my new package for Dired
filemanger in Emacs. 🐾💜😊
Emacs has is very advanced filemanager (Dired) it is like
MidnightCommander and FarManager, but much better, because it
is customizable as beyond imagination.
Even Vim don't have modern fast navigation, that is why my
package is awesome. 😈
Now I don't need OS Environment, all I need is Emacs, console
and browser. File manager now is in Emacs. ⛅
Thunar was very good, but too simple. ☄️
Maybe my package will became quickly very popular. 💅
#Emacs people: what is the canonical way to read a list of filenames? #Dired and completing-read-multiple can be both be used but are both clumsy when most of the times only one wants to choose on or two files. I am asking because of https://codeberg.org/rahguzar/filechooser
The buffer becomes editable, so you can do all sorts of fun things quickly. I like using macros to do file renames, especially when it would take me longer to figure out the regex/pattern than it would for me to record the keystrokes I want effected.
Ich hatte gehofft, mir könnte der in #emacs integrierte Dateimanager #dired genügen. Leider nicht, denn jeder Verzeichniswechsel öffnet einen neuen Buffer. Bedeutet, durch 10 Verzeichnisse navigiert und 9 weitere Buffer sind im Hintergrund aktiv. Keine Ahnung, wie man auf die Idee kommt, dies könnte eine gute sein. In meinen Augen Schwachsinn. Muss ich mich doch mit #nerdtree oder ähnliches befassen.
Yesterday, I was trying to fix my #dired in #Emacs to work with my #server and local files. I wanted it to trash files locally to the trash, but delete them on the server. Well, what did I find?
Emacs 30 (which I'm using) has two variables. Here's my setup:
(setq delete-by-moving-to-trash t) ;; For moving to trash locally
(setq remote-file-name-inhibit-delete-by-moving-to-trash t) ;; For Tramp deletion
This is apparently only for 30+. #Tramp now works as expected. 🙃
And now for the last one: I came up with an idea two days ago and announced it on /r/emacs. It's a colouring system for items in #dired#Emacs. Almost none of my programmer friends could figure out why I would want to colour files different, which is funny because I can't think of a perfect system which doesn't use colours like this.
But somebody made it for me and it's now available and it works great. 💖 Thank you Karthink!
These are on my main computer hard disk, I have a 2nd that is currently FAT32 (I think) but I can't copy these files due to the characters in the filename.
Is there a easy way to take these files, and rename them so I can stripo out all but the final period (which is between '091333.ts' for example.
I am running Debian, and it wom't let me copy over to the other HDD, While I can do this manually there are LOTS of files. So there has to be a way to do this, perhaps a combination of
If you are okay with #KDE apps, #KRename is great for this sort of thing.
You could also try rename (the perl version - it is "perl-rename" on #gentoo. Something like
perl-rename 's/:/-/g' *
and
perl-rename 's/./_/g' *
BUT, not sure if you need to escape the . or not in that second one.
If you use #emacs, #dired would also let you do find and replace to bulk rename. Open a dired buffer in the folder, ctrl-x ctrl-q to make the buffer editable. C-c C-c to finish and rename.
I’m slowly spending more and more time inside #Emacs thanks to #mu4e, #elfeed, #mastodonel, #pdftools, #dired and quite a few other packages. I still haven’t hopped on EXWM full time, I really only use it on my Chromebook, and I can’t use it at work, but being able to do pretty much everything just with the keyboard really is a blessing!