💾 Archived View for freeshell.de › tldr › repren.gmi captured on 2023-11-04 at 12:49:35. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

repren

Multi-pattern string replacement and file renaming tool.

More information.

repren --dry-run --rename --literal --from '{find_string}' --to '{replacement_string}' {*.png}
repren --rename --dry-run --from '{regular_expression}' --to '{replacement_string}' {*.jpg} {*.jpeg}
repren --from '{([0-9]+) example_string}' --to '{replacement_string \1}' {*.csv}
repren --patterns {path/to/patfile.ext} --full {*.txt}
repren --rename --insensitive --patterns {path/to/patfile.ext} *
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY