this post was submitted on 05 Jul 2023
2907 points (97.2% liked)
linuxmemes
21222 readers
98 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack members of the community for any reason.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows.
- No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
AMEN! I asked recently if there was a good Linux alternative to this program I used in Windows called "Bulk Rename Utility" and i was flooded by people telling me how easy it was to set up a script to do what I want.
Turns out the best alternative is running BRU in Wine.
There almost always powerful existing utilities that can do what you want in linux.
But you have to find them and they have a learning curve. Sometimes that "curve" is a cliff.
Tbh though, as a person going through this learning right now, the single most essential thing I did was youtube "basic bash tutorial" and watch a few videos/follow along with them. Gave me the first foothold to start climbing the cliff, made it much less foreboding.
Now I'm struggling with for loops, but that is not exactly basic and I'm blaming that on my ADHD, I haven't tried to learn in months, I'll get around to it!
I'd have recommended KRename personally. It uses some programming-esque stuff (format specifiers for stuff), but it's not exactly difficult to do advanced stuff with it.
Krename is pretty nice
Let me tell you about the wonderful world of pipes
Wahoo!
This makes me wonder how powerful a repo platform like gitlab would be if it allowed people to suggest software ideas and have people make them. In this instance a simple GUI wrapper for bulk rename command line would be sufficient but I would bet there's millions of things like that, not world changing software just nice qol stuff
I tried to do something very similar recently and every solution I found involved using the command line with regular expressions. Fuck I hate regex. It would literally be faster for me to manually rename the files than to debug the regex until it works.
No need for a script, just use
rename
.