TIL you can drag and drop files from MacOS finder into #emacs #dired and they will copy!
#emacs has really got me spoiled! I needed to copy all files from a directory, but with exceptions. Thought of writing a script for this, but I'm not very familiar with filesystems apis, I'd have to review the LLMs code. I just opened #dired, marked the files I didn't want to copy, toggled (inverted) the marks and copied what I needed.

My computer #files need a cleanup.

But I have many files, this will take multiple sessions to do.

My hunch is that #emacs and #dired can help.

What I want is to go throught files, tagging them (say, this is reference material, this is media, etc.)
adding a marker adds a line in a "sorting files" script (information about the file, such as inode, whether it is a soft link, what its name, checksum and desired annotation are, etc.). After this I can (hopefully programmatically) move the files.

Hmm I kinda wish the #dirvish extension had submitted fixes and enhancements to the #upstream project rather than just lift and shifted the code. At least the license is the same: https://github.com/alexluigit/dirvish/blob/main/extensions/dirvish-rsync.el

#emacs #dired #rsync

dirvish/extensions/dirvish-rsync.el at main · alexluigit/dirvish

A polished Dired with batteries included. Contribute to alexluigit/dirvish development by creating an account on GitHub.

GitHub

Added explanations about file management with #fsel utility. Also draftly integrated it with #Dired in the #Emacs.

https://github.com/uwfmt/fsel
+
https://github.com/uwfmt/emacs-fm

GitHub - uwfmt/fsel: fsel is an utility for easily sharing a list of selected files between shell commands.

fsel is an utility for easily sharing a list of selected files between shell commands. - uwfmt/fsel

GitHub

As a follow-up to this conversation about #ded #console #rulers, Thomas Dickey had this to say (in response to an email I'd sent him):

It's a visual reminder of how far left/right I've scrolled, in either the directory listing, or in the built-in pager. If you're using the pager, the scrolling applies to that.

Neither of those wraps lines, and when I
began that (in 1987), had no other programs to do that sort of thing.

If I'm scrolling left/right, I want to know where I am. If I scroll too far the right, and the screen's blank, that helps :-)

I see it's in the initial version of dedview.c, in April 1992, which precedes any of the followup versions of #dired. In turn, that says it was split from ded.c, so... in that file I see a ruler (in showFILES), which is from November 1987. The 'Xbase' variable corresponds to left/right scrolling - but that's the initial version of ded.c (I don't recall if the intermediate version that I wrote beginning around December/January 1986 did that, but have a hunch that this was something that I did for the improved version, with the ring of active directories, etc).

I had modified the initial version seen here:

https://groups.google.com/g/net.sources/c/_lGkTpsqyPE/m/SwhkKsBuayIJ

to move its divider line up and down in late 1983, and incorporated a similar divider into the versions that I wrote from scratch. I don't recall if I added column numbers to my changes in the original dired, but may have, since it seems "obvious".

Thanks for that, Thomas!!

dired directory editor

#emacs #dired help please

I've spent a 🤬 HOURS trying to make this work, and even with the most minimal config.el I can't get it.

How do i convince dired to leave dired-hide-details-mode on by default, even when it opens a new window/buffer (ex, when i navigate into a directotry).

pretty sure what I have in the screenshot _used_ to work, but after upgrading emacs to 30.2 it doesn't.

I'm using doom emacs if that makes a difference but I'm pretty sure it doesn't.

I was just looking at “man ls” (as one should) and found this. So ls has a special flag for #dired #emacs ?