Follow

Using rectangles in Dired, this task took me 5 minutes.

switch to wdired (written dired) mode with C-x C-q. Then use combination of kill rectangle and insert string rectangle.

100 files? 1000 files? 5000? No problem. And this is in a program that was written in what...1974?
Nearly 50 years ago? for FREE?

Can we just stop for a second and appreciate this beautiful thing?

Why do I need anything else to manage my directories & files? What for? I just feel grateful.

(2/2)

· · Web · 3 · 2 · 4

@jrss emacs is it's own justification. Comparisons are unnecessary.

@eludom I interact with quite a few VIPs who argue the superiority of Apple and MacOS.

There's room here to argue that you can have Macs do what you want (including installing Emacs etc.) . But Their point is you pay what you get for. They pay so much money for the hardware and the software and the service, it HAS to be superior, and if not, it's just because you don't know how.

I hear it every time, reminding myself they are VIPs, they're right... but it takes its tall. I wish I could grow past this.

@jrss "VIP" in whose mind? Either they arrogant the role or you ceed it to them. People are people. Some have more attitude.

"I spent money on this, must be good" is a weak, self serving argument.

But people do have the right to use/like what they want, even if it's different than what I want. And I've found people gravitate to the familiar. I just happened to get on the Emacs/TOPS10/20/Unux/GNU train (hmm, trains...) very early on. It's been a good ride.

@jrss
I get started to use dired, but before I used bash shell, so dired is more cozy in emacs and I want to use it further. Well if I wanna change files permissions recursive? In the shell I can do that: chown -R
Can dired do that too?

@igogosha

1. Anything you're used to do in shell exists in emacs, by opening a shell (M-x shell)

2. You can preform a shell command on a file or a dir. Stand over it in Dired, then M-! to enter the shell command. In this case, chmod -R 755 (for example).

3. Dired way:
go to dir, and mark the files you want (can do C-x h to select all files). Then run dired-do-chmod, 777 (or r+w, it understands both).

@igogosha benefits of Dired here are similar for many other operation: you can cherry pick the files you want with whatever crazy regex you need. You're just marking files,

so you can see what catches on the spot.

@jrss thank you, I just was wondering the dired way

@jrss First: yes/agree. Second: there is "vidir" for #vim users.
I'm using vidir most of the time but start to embrace #dired more and more.

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!