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

  • zeppo@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 hours ago

    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.