mv já suporta isto fora da caixa (pelo menos no Debian):
mv --backup=t <source_file> <dest_file>
Como visto em mv (1) manpage:
--backup[=CONTROL]
make a backup of each existing destination file
The backup suffix is '~', unless set with --suffix or SIM‐
PLE_BACKUP_SUFFIX. The version control method may be selected via the
--backup option or through the VERSION_CONTROL environment variable.
Para tornar --backup=t significa "fazer backups numerados", invoque da seguinte forma:
%código%
(Dest_file pode, claro, ser um diretório).