NAME
  numbered - rename files to include ascending numbers

SYNOPSIS
  numbered [-a STR] [-b STR] [-C|-c] [-d NUM] [-n] [-s NUM] [-v] FILE...
  numbered -V

DESCRIPTION
  This script takes a list of files as arguments and renames them to include
  ascending numbers. This can be customized by some options that follow.
  By default the given files will be processed in their filenames' lexical order
  and their new name will consist at least of the generated ascending number and
  the file's original extension.

  If the generated filename already exists you will be prompted to confirm
  the pending overwriting.

  Note that the filename extension is always preserved (but see -C / -c option)
  and that all characters after the last dot are regarded to be the extension.

OPTIONS
  -a STRING     a STRING that will be put in every filename AFTER the
                generated number and before the extension (default: '')

  -b STRING     a STRING that will be put in every filename BEFORE the
                generated number (default: '')

  -C            convert the extension's case to UPPERCASE

  -c            convert the extension's case to lowercase

  -d NUMBER     specifies the NUMBER > 0 of digits the generated number
                should consist of (default: 3)

  -n            do NOT sort the list of files lexically but leave them
                in the given order

  -s NUMBER     specifies the NUMBER >= 0 which the counter STARTS at
                (default: 0)

  -V            print program version and exit

  -v            be verbose and print each renaming