home.social

#dired — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #dired, aggregated by home.social.

fetched live
  1. Anyone using #emacs #dired for pictures or just in general with thumbnail layout?
    I like using dired but when I need something visual where I want thumbnail previews then dired is just meh.

  2. TIL you can drag and drop files from MacOS finder into and they will copy!

  3. 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 , marked the files I didn't want to copy, toggled (inverted) the marks and copied what I needed.

  4. 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.

  5. 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: github.com/alexluigit/dirvish/

    #emacs #dired #rsync

  6. Added explanations about file management with utility. Also draftly integrated it with in the .

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

  7. 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:

    groups.google.com/g/net.source

    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!!

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

  9. for all 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: marcoxbresciani.codeberg.page/

    I use in another frame, to see the folder I'm working on, sort of IDE-like layout.

    Is an alternative way to have this project files/current files layout?
    Are there other ways, without adding external packages?

  10. So why am I experimenting with #emacs #dired overlays? Maybe these can become part of Ready Player Mode...

    #linux #oss #macos #music

  11. @seanfobbe I picked up `dired-subtree` from Prot‘s „basic and capable configuration“. #emacs #dired

  12. 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"

  13. 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.

    #spotdl #dired #emacs

  14. 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 😉.

    #emacs #dired #syncthing #vlc