Forrest logo
back to context overview

repren

List of commands for repren:

  • repren:tldr:0c74e repren: Do both a find-and-replace and a rename operation at the same time, using a pattern file.
    $ repren --patterns ${path-to-patfile-ext} --full ${*-txt}
    try on your machine
    explain this command
  • repren:tldr:62ebc repren: Do a find-and-replace on the contents of a directory of CSV files.
    $ repren --from '${([0-9]+) example_string}' --to '${replacement_string \1}' ${*-csv}
    try on your machine
    explain this command
  • repren:tldr:85e27 repren: Do a dry-run renaming a directory of JPEGs with a regular expression.
    $ repren --rename --dry-run --from '${regular_expression}' --to '${replacement_string}' ${*-jpg} ${*-jpeg}
    try on your machine
    explain this command
  • repren:tldr:b938e repren: Do a case-insensitive rename.
    $ repren --rename --insensitive --patterns ${path-to-patfile-ext} *
    try on your machine
    explain this command
  • repren:tldr:ce8da repren: Do a dry-run renaming a directory of PNGs with a literal string replacement.
    $ repren --dry-run --rename --literal --from '${find_string}' --to '${replacement_string}' ${*-png}
    try on your machine
    explain this command
back to context overview