I run Mylar on my Xubuntu server to manage my comic collection. I found out recently that there’s a tool that can convert the embedded .jpgs to .webp to save space, but it only works on cbz files and not cbr (zipped vs rar for those who don’t know). I wanted to convert all of my cbr to cbz so that I could run the tool on all my comics, so I needed to search hundreds of subdirectories for them and move them to the same folder to be processed.

Under Windows, I’d just type *.cbr into the search bar built into Explorer from the root comic directory, hit enter to get a list of files, select them all, and move them to the new folder. On Xubuntu, it’s nothing like as simple.

I found the search option in Thunar which opened Catfish, typed in *.cbr, and got a no files found message. After looking through the very limited options, I started searching for a way to do it. About thirty minutes later I’d found dozens of links telling me to use different, Terminal only, tools, but nothing about how to search subdirectories from the Catfish GUI. Purely by accident, I found a post from 2012 that mentioned the fact that Catfish doesn’t use wildcards, so just search with .cbr, something that’s not mentioned in the official docs.

I tried it, and it searched the subdirectories too, and found my files! Except there was no way to copy or cut and paste, just open, show in file manager, copy location, save as, or delete. No good options for almost 500 files across several dozen locations.

I ended up asking Chat GPT how to do it, and doing it through the Terminal, using this:

‘find . -type f -name “*.cbr” -exec mv {} /path/to/destination ;’

This is pretty basic functionality, and I had to resort to getting help to use the Terminal :(

  • Tippon@lemmy.dbzer0.comOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    You did say it in a supportive way, and thank you for that :)

    You might be missing my point though. It’s not that it’s bad because it’s different, I think it’s bad because whether the terminal can perform more complex operations or not, the file manager should at least be able to perform the basics. This is something that Windows, Android, and as far as I can remember, MacOS can do.

    When Linux users have to switch from the Windows Settings panel over to Control Panel to do something simple, they complain, as they rightly should. It’s a program that can’t carry out the tasks it was designed for. This is an equivalent problem. The file manager can’t carry out a task that other file managers can do easily.

    • JTode@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      I suppose I do complain when I have to use Windows lol

      I hear you, and I have nothing against good graphical tools, for the record. Sometimes it is the quickest way when you’re already working in a gui context, which let’s face it, is most of the time, unless you run servers.

      Which is the one case where I would double down on pushing you towards the terminal: Are you learning about Linux for the sheer joy of it and to be on the future-facing edge of things, OR are you hoping to improve your career situation? Brief self-bio: I am a lifelong geek, but in 2014 I was a trucker with a CCNA and a lot of aches. In 2015 I became a sysadmin for an animation studio based on that and my knowing Linux, but I didn’t do linux servers, I did FreeBSD servers, which at the terminal level is similar enough that I could handle it, because I focused on console skills when teaching myself more than getting my gui right. But I was intentionally seeking to make more money and stop torturing my body every day while surrounded by fucking klansmen. If you’re thinking about job at all, then I double down on the “stick to the console and get better at it,” because that will make you the wizard at your eventual job, surrounded by people enslaved to the gui. (puffs on a bit of the finest Southfarthing, which he frequently wafted an odor of at his coworkers after coffee break. People do not meddle in the affairs of effective wizards.)

      That being said, you’re actually touching on the main reason we don’t have wider adoption (not wide, that is questionable if it will ever happen, but we’ll see how thoroughly capitalism implodes over the next few years, who knows) - in a nutshell, there seems to be very little active intention, and quite a lot of active resistance, to the idea of a Linux Desktop that “just works” for your grandma, as they say. I guess Red Hat was trying to be the Linux version of a Windows Server, but pretty soon they’re not gonna be much of anything if you ask me… anyways, I consider myself a native these days and let me say, Linux geeks are a bunch of fucking ASSHOLES. I try to be one of the ones who isn’t, but even I succumb to the urge to snark at lazy thinkers sometimes, which is not what is happening here and now for the record, I’m having a pretty good week and I’m hoping this all helps in some way. But I want to acknowledge the toxicity of this culture.

      One might argue that Plasma or Gnome or Mint or whatever does a great job of crafting a smooth and easy UX. And that is true - I quite like the Gnome vibe overall. But let’s face it, Gnome’s bundled gui tools are indeed mostly second rate, and the devs have a bottomless well of cultural support for responding to complaints like yours with “learn the terminal then noob lol”. You also, of course, have the option to install the text editor or file manager of your choice, but then you run the risk of needing a whole bunch of extra dependencies and there goes your responsive desktop.

      I don’t hold out a lot of hope for this culture changing until the general culture in tech changes, and that won’t change until the general culture of our economic priorities changes. Let’s see how far this implosion goes. It’s a very slow moving one.

      Becoming a developer was a bit like walking into some pastoral fantasyland where everyone is extremely nice and endlessly seek to support and help you as you learn to milk the cows and such. I have experienced the extremes of workplace culture now and I never want to leave this role. If you are dissatisfied with what you do and are willing to work your ass off for a few years becoming good at things that not many people have worked their ass off to become good at, you can definitely make your life better, and I don’t just mean by having more money. I would do this job for my old trucker wage rather than leave the job. Don’t tell my boss.