Ik I can use grep to find filenames with specific characters and then print that to a list but idk how to utilize said list to rename. I found another solution which’s using mv but couldn’t figure out how to make it work w subdirectories. I think using both grep and mv in unison’s the answer just idk how to do it. plz halp


You can do that with the
findcommand. 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 usefind -exec rename -nwith 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.I’ll edit the post w the solution I find but as this can be done many ways, feel free to comment your solution.