You can do that with the find command. Also xargs is a good one to know for stuff like this, but when commands have the capacity to work on a list already like find, you don’t need xargs. You can use find -exec rename -n with a regex perhaps. I’m not a linux system currently and can’t test a snippet, but I’ll check back later if the question is still open.
Also zeppo@sh.itjust.works. Not a lot of Zeppos out here.
- 0 Posts
- 5 Comments
OP does understand that. They’re rhetorical questions.
Sure. You complained about that opinion, but it doesn’t mean I can’t hold that opinion. I don’t agree with your observations or conclusions. We don’t need more dimwit asshole conservatives here, if that’s what you mean by ‘wider audience’. That group already whines that Reddit is too leftist for them. I don’t really agree that Lemmy is more extreme in that regard, other than specific instances like .ml or grad. The politics I see here are not more extreme and I don’t find the user base ‘repellant’ at all, and I hold fairly typical US left views (would like more socialism, believe in human rights, universal healthcare, oppose racism, etc).
Um… okay, if the fairly mainstream for our demographic politics here repels certain people, good.




I’ve never really used rename. It has different features compared to mv, though. rename has more options for batch renaming such as regular expression support, though the behavior varies by distro.