microsoft/PowerToys

[PowerRename] invoke via command prompt

Open

#4 390 ouverte le 18 juin 2020

Voir sur GitHub
 (2 commentaires) (9 réactions) (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

another use-case (that interests me) is to rename downloaded file names using regEx with PowerRenamer,

i have files with the pattern: S1E12 or S1E4 inside the name,

i have to run the tool twice in order to replace all files, once for the single digit names (and pad them with leading zero), and a second time for double digits names,

so a command-line interface to be able to run a rename command with the parameter twice from a single batch would do the trick

Originally posted by @shaybc in https://github.com/microsoft/PowerToys/issues/3301#issuecomment-636284182

Guide contributeur