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

  • Jo Miran@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    16 hours ago

    My guess is that he was doing a “find . | grep filename”, which is a way to output a list of all occurrences within that directory structure, hence why they mentioned grep.