Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

batch_rename

a cli tool to enable batch renaming of files.

installation

  1. download the repo and add bin/batch_rename.exe to path:
    gh repo download powrfulcow89/batch_rename

    or

  2. get the pub package:
    dart pub add batch_rename

    and build from source:

    dart compile exe .binbatch_rename.dart

    or

  3. grab a prebuilt binary.

usage

batch-rename.exe substring [new_string] [-h] [-n] [-r]

positional arguments:
   substring   substring to strip or replace out of every file in path.
   new_string  string to replace for every matching substring. defaults to an empty string.

optional arguments:
   -h, --help  show this help message and exit.
   -n          rename all files to substring and number them accordingly.
   -r          batch rename recursively in subdirectories.

examples

  1. output a standard set from favicon.png:
    batch_rename favicon.png
  2. output the standard, apple and windows 10 sets from logo.jpg:
    batch_rename logo.jpg -a -w
  3. strip all brackets and their content:
    batch_rename "[.+]"

Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Top