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
[–] Venomnik0@lemmy.world 47 points 1 year ago (1 children)

Honestly, some things can be done faster/as fast on GUI. So really just use whatever increases your productivity.

[–] MangoPenguin@lemmy.blahaj.zone 51 points 1 year ago (1 children)

IMO GUIs are always faster when it's something you've never used before, or use very infrequently.

CLI is better if you're used to the task you're doing, or automating things. But for infrequent tasks looking up the commands (or looking at old notes to find it) is very slow and rather annoying.

[–] ICastFist@programming.dev 16 points 1 year ago (4 children)

Moving files across several subfolder levels tends to be much faster on a GUI. Finding files is usually much faster via CLI, even when you have to look up again how to use the find command of your choice

[–] Semi-Hemi-Demigod@kbin.social 4 points 1 year ago

The more you use the commands the more you remember them. I got good at the CLI by forcing myself to use it for things I would normally do in a GUI. Now everyone thinks I’m a wizard which I won’t discourage

[–] MangoPenguin@lemmy.blahaj.zone 3 points 1 year ago (2 children)

Is there an instant GUI find tool on linux? find is very slow compared to using Everything on windows, and sorting results is really hard via CLI.

[–] SpaceNoodle@lemmy.world 3 points 1 year ago (1 children)

Oh, you're not aware of "locate"

I am but searching via CLI I'm not sure how to easily sort by last modified time, or restrict to a specific root path first.

[–] kuberoot@discuss.tchncs.de 1 points 1 year ago (1 children)

I don't know about GUI tools, but:

Everything is so fast because it uses the index built into NTFS to find files by filename quickly, and NTFS is the definitive file system on Windows so it works everywhere.

On Linux, there isn't really an index built into the filesystem - some might have that, but I don't know about it. That said, plocate is a common tool that uses its own index. You have to update the database when files change (you'll probably have a job doing that daily), but searching the index is very fast.

I usually just make a bat or py script to move and create specific files to specific folders.

I only do this because I'm lazy and numbering, renaming and creating folders is a drag and can be easily automated, but just copy/paste or cut/paste is faster in GUI, especially with alt tab and the new tab file system on windows.

[–] CanadaPlus@lemmy.sdf.org -3 points 1 year ago (1 children)

A GUI with a search function is always the best way to deal with filesystems, in my experience.

[–] SpaceNoodle@lemmy.world 2 points 1 year ago (1 children)

Always orders of magnitude slower and near-infinitely less featureful, in my experience.

[–] CanadaPlus@lemmy.sdf.org 0 points 1 year ago (1 children)

Your filesystem must be monstrously huge if it's actually perceptibly slow. I also get tired of typing in long filenames with a ton of special characters I have to escape.

[–] SpaceNoodle@lemmy.world 1 points 1 year ago (1 children)

You've never had to search through hundreds of gigabytes of source files, I guess. Congratulations.

[–] CanadaPlus@lemmy.sdf.org 1 points 1 year ago

No, I've never had that displeasure, Nothing I've worked on has been that big. My condolences.