#dired — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #dired, aggregated by home.social.
-
#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
-
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 -
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!!
-
✨ New blog post ✨
Interactive ordering of dired items
-
Emacs dired-mode as a file manager
https://lynn.sh/guix-emacs-file-manager.html
#HackerNews #Emacs #dired-mode #file #manager #EmacsTips #filemanagement #technews
-
@vermutliCHEmie Take a look at my #dired #hydra which has features to add links to files quite easily: https://github.com/novoid/dot-emacs/blob/master/config.org
-
#Question for all #Emacs folks out there.
I come from 20+ years of IDEs: usual layout of project files on the left and content on the right.
No more dev now, but daily Emacs for my digital garden: https://marcoxbresciani.codeberg.page/I use #speedbar in another frame, to see the #OrgMode folder I'm working on, sort of IDE-like layout.
Is #dired an alternative way to have this project files/current files layout?
Are there other ways, without adding external packages? -
@seanfobbe I picked up `dired-subtree` from Prot‘s „basic and capable configuration“. #emacs #dired
-
I like to switch from my terminal to magit or dired in my emacs
I have a made a zsh function that works to launch a function in emacs and focus it:
function _emacs_action() {
emacsclient -u --eval "($1)"
(( $+commands[osascript] )) && osascript -e "tell application \"Emacs\" to activate"
(( $+commands[swaymsg] )) && swaymsg '[app_id="emacs"] focus'
}and use it like this:
alias magit="_emacs_action magit"
alias dired="_emacs_action dired-jump" -
so many kludges. just updated my file renaming fn in dired to account for spotdl downloaded playlists (using '--playlist-numbering'). i can finally preserve spot*fy's ordering.
-
i've been syncthing-ing all my music to an SD card on my phone for a while now. sometime before that, i created a rating system for filenames (1 to 5) w/fn's and bindings that can be called in dired and mpv (via emacsclient). i finally put everything together and compiled m3u8 playlists: all rated, rating of 1, ratings of 2-3, and ratings of 4-5. playlists w/relative file paths are re-written periodically by 'locate'-ing rated files, which are synced and playable on my phone 😉.