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.
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!!
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.
✨ New blog post ✨
Interactive ordering of dired items
TIL. We can do everything whit #embark
If you call embark in dired you can select & and then write exiftool.
Sure that @oantolin could ilustrate us how to do it directly and only in multimedia files 😊
I'm joking. Let's read some documentation!
#emacs #dired #quietsaturday
TIL There is a simple package for dired very useful to get the properties of multimedia files: https://github.com/misohena/dired-file-info
You must to have exiftool installed to get all the stuff.
#emacs #dired #multimedia
🌖 Guix 中的 Emacs dired-mode 作為檔案管理器
➤ 使用 Emacs dired-mode 打造個人化的檔案管理體驗
✤ https://lynn.sh/guix-emacs-file-manager.html
這篇文章描述了作者如何使用 Emacs 的 dired-mode 作為其在 Guix 系統中的主要檔案管理器。作者指出,他原本並不需要一個專門的檔案管理器,直到他發現點擊「在資料夾中顯示」功能時,系統無法正確地將目錄開啟到 Emacs 的 dired-mode。為瞭解決此問題,作者利用 Guix 的 `home-xdg-mime-applications-service-type` 功能,將目錄的 MIME 類型 (inode/directory) 連結到 Emacs 的 dired-mode,從而實現了點擊後直接在 Emacs 中開啟目錄的功能。作者也分享瞭如何擴展此設定以支援其他檔案類型,並推薦了 rde 這個 Guix 的輔助框架。
+ 「我一直覺得 Emacs 很好用,
#Guix #Emacs #檔案管理 #dired-mode #Linux
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?