microsoft/PowerToys

[PowerRename] Allow for padding prefix/suffix

Open

#4.080 aberto em 5 de jun. de 2020

Ver no GitHub
 (1 comment) (1 reaction) (0 assignees)C# (7.978 forks)batch import
Help WantedIdea-EnhancementProduct-PowerRename

Métricas do repositório

Stars
 (133.154 stars)
Métricas de merge de PR
 (Mesclagem média 14d 20h) (117 fundiu PRs em 30d)

Description

Summary of the new feature/enhancement

Allow for padding a filename with a character(s) to a certain number of total characters.

I often need to rename a large number of image files which are named as UPC/PLU codes. The existing file names are variable length and I need to left pad the file names with 0's to 13 digits. For example I may have the following file names: 1234.bmp 123.bmp 1234567890.bmp

The result after the batch rename would need to be: 0000000001234.bmp 0000000000123.bmp 0001234567890.bmp

Guia do colaborador