this post was submitted on 02 Aug 2023
1540 points (97.0% liked)

Programmer Humor

19463 readers
156 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Sparrow_1029@programming.dev 26 points 1 year ago (3 children)

"graphical user interfaces make easy tasks easy, while command line interfaces make difficult tasks possible"

  • William E. Shotts Jr., The Linux Command Line: A Complete Introduction

It has taken me a long time to get comfortable using a Linux CLI (definitely not as familiar with windows cmd prompt/powershell), and I know that if I log into a box anywhere, If it has sh or bash or some variant of those shells, I'll be able to get by.

Now, on my home server, moving & renaming a bunch of media files has me really wishing I had a DE installed there to Ctrl + click/Drag-n-drop...

Also, I love using VScodium/Code as an IDE bc of its configurability & rich plugin ecosystem -- but recently I had some performance hiccups with extensions not playing nice together and started (again) down the masochistic path of configuring neovim to use as an "IDE"...

[–] nehal3m@sh.itjust.works 9 points 1 year ago (1 children)

Why not mount your server as a share and use your desktop GUI to manipulate files? Then you can do both.

[–] Sparrow_1029@programming.dev 2 points 1 year ago

Laziness so far haha but yes that's a good plan

[–] docAvid@midwest.social 4 points 1 year ago (1 children)

I always feel that graphical interfaces make easy things difficult, in most cases. A bunch of figity clicking around, instead of a few keystrokes I could press with my eyes closed. They are more discoverable, though.

If you use emacs, dired and wdired together are fantastic for managing files like that. You can even run dired over tramp, so you can manage files on a remote server that doesn't have emacs installed, using the emacs on your desktop. But there are also good cli options, you might want to look at the rename command, as one that's probably installed by default on any given distro. That's outside my expertise, though, as I just use emacs.

[–] Sparrow_1029@programming.dev 1 points 1 year ago

Yes I've used rename! In my case, I just need to rename and reorganize a bunch of movies & associated metadata files into directories. I don't have too many stored digitally now, so I think just shaving the yak and doing it manually via file share will work for now.

Never been an emacs user... Seems like quite a rabbit hole

[–] wurosh@lemmy.ml 1 points 1 year ago (2 children)

Skip the masochism, try helix. Switched to that + zellij with about 20 lines of config and never looked back

[–] wurosh@lemmy.ml 2 points 1 year ago

Takes a second to get used to the keybindings but after about ~2w you can painlessly switch back and forth between vim and helix pretty much instantly

[–] Sparrow_1029@programming.dev 1 points 1 year ago (1 children)

Helix + zellij huh? I'll definitely try it out

[–] wurosh@lemmy.ml 1 points 1 year ago

Feel free to ping me if I can help, at least in the form of starter configs/small hacks that emulate VS Code workflows or something :)

Personally I was the guy that had thousands of lines of Vim and Emacs configurations, so I really had to do this to manage the time sink (like you I had a stint with VS Code in between that eventually stopped working for me)