microsoft/PowerToys

[PowerRename] invoke via command prompt

Open

#4,390 opened on Jun 18, 2020

View on GitHub
 (2 comments) (9 reactions) (0 assignees)C# (7,978 forks)batch import
Help WantedIdea-EnhancementProduct-PowerRename

Repository metrics

Stars
 (133,154 stars)
PR merge metrics
 (Avg merge 14d 20h) (117 merged PRs in 30d)

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

Contributor guide