microsoft/PowerToys

[PowerRename] Allow for padding prefix/suffix

Open

#4 080 ouverte le 5 juin 2020

Voir sur GitHub
 (1 commentaire) (1 réaction) (0 assignés)C# (7 978 forks)batch import
Help WantedIdea-EnhancementProduct-PowerRename

Métriques du dépôt

Stars
 (133 154 stars)
Métriques de merge PR
 (Merge moyen 14j 20h) (117 PRs mergées en 30 j)

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

Guide contributeur