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

    • GaumBeist@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      10 hours ago

      Presumably so the regex in the parameter expansion/replacement works, since you can’t do that to the placeholder {} string that find uses

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

      Nice. Could you recreate my mess using it? We all carry bad habits and inneficiencies, so I’m down to learn a cleaner, more efficient way.