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

  • whatiswrongwithyou@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    14 hours ago

    | is usually my solution.

    Quoting variables in scripts is my other go to before I actually start tracing what went wrong.