microsoft/PowerToys

[PowerRename] Allow for padding prefix/suffix

Open

#4.080 geöffnet am 5. Juni 2020

Auf GitHub ansehen
 (1 Kommentar) (1 Reaktion) (0 zugewiesene Personen)C# (7.978 Forks)batch import
Help WantedIdea-EnhancementProduct-PowerRename

Repository-Metriken

Stars
 (133.154 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 14T 20h) (117 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide