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 :(

  • RiikkaTheIcePrincess@kbin.social
    link
    fedilink
    arrow-up
    4
    ·
    11 months ago

    Why do people on this community sem to assume that just because I don’t like the way that something works that I don’t know how to do anything? It’s quite condescending.

    Probably because many of us have seen really snide “This is why nobody uses your stupid shitty OS!!” posts/comments so much that “Here’s why people don’t use Linux” for 2435808th time this month just sounds like another condescending prick come to tell us how stupid we are for using “bad” software that doesn’t work like they expect it to. I see that you seem more reasonable than that but I’ve also seen others around here with really crappy attitudes and ideas who’ve maybe stirred up a bit of a defensive mood that your phrasing stepped on.

    …Now I’ve got to go before I also go off on a rant. Here is a virtual pancakes: 🫴🥞