microsoft/PowerToys

Suggestion: Batch file re-namer

c3er opened this issue ยท 14 comments

c3er commented

Saw this as "backlog item" in the README and I think this would be a nice feature. Though I'm not sure, how the UI could/should be implemented.

I would also appreciate such a function! That would be great! Possibly with placeholders for certain strings such as current date, sequential numbering, etc.?

Saw this as "backlog item" in the README and I think this would be a nice feature. Though I'm not sure, how the UI could/should be implemented.

Setting it up via the command prompt would be easiest. Tick mark within PowerToys UI to activate it in the context menu. Select multiple files within a folder through shift+click, ctrl+click, or mouse drag, right click, batch rename.

Pulls up a Find and Replace-style menu, append, pre-pend, wildcard search, remove any, etc.

Something like a "dumbed" down version of https://www.bulkrenameutility.co.uk sounds like is what is being asked for.

I currently use Bulk Rename Utility and would love something like this built in. Maybe hide the more elaborate functions under an advanced section or something though as it can be quite overwhelming for new entrants.

In the spirit of not re-inventing the wheel unnecessarily, are we talking about a program like "Rename-It"? For example, see https://github.com/wernight/renameit/

It hasn't been meaningfully updated in about 12 years but is still a program I use regularly on Windows 10. It's Apache License 2.0 so I don't think there's anything stopping you using its code as a basis for something more modern-looking.

Facility to change case (toggle like Word does between lower, UPPER, Title Case, Sentence case) - to help fix those cases when i HAD cAPSLOCK ON. Also to switch underscores/spaces.

For multi-renaming (and a lot of other things...) I use Total Commander, this is its Multi-Rename tool:
2019-06-26 16_56_34-Window

As you can see, many options are available:

  • Search&Replace with support for regex
  • Support for plugins (see below)
  • Standard fields like filename, date/time, counters
  • Case conversions (UPPERCASE, lowercase, first letter uppercase, first of each word uppercase, "English in Titles")
  • Support for profiles (save/load)

Plugins are nice, because they can be used to retrieve&use data like EXIF details, audio/video tags, file/folder related information, etc :
2019-06-26 16_56_18-Window

Nice to have:

For many situations, the tools are a little "heavy" as you have to load the tool, navigate back to where you need to apply it, throw a thousand switches to get the change action desired. I'd like something a bit more context-centred where I had a palette of simple actions that could be applied, with the ability to switch into an advanced mode.

I usually rename files in similar ways so loading a default rules set for renaming would be great.

Smart Rename https://github.com/chrdavis/SmartRename is joining PowerToys (the PR is already open).

Saw this as "backlog item" in the README and I think this would be a nice feature. Though I'm not sure, how the UI could/should be implemented.

As I understand he says a CLI for command line would be great, doesn't he? Would be graet. Then one were able to put it in nightly jobs and so on.
regards

c3er commented

@toohoo No, a graphical tool integrated in explorer.exe is what I wanted. :) I think it wouldn't be too much hassle to write a Python script or similar that does the job and could be called via command line.

E.g.

rename.py path\to\dir search-pattern replacement

@toohoo No, a graphical tool integrated in explorer.exe is what I wanted. :) I think it wouldn't be too much hassle to write a Python script or similar that does the job and could be called via command line.

E.g.

rename.py path\to\dir search-pattern replacement

If you once have this solution I would be interested. :-) Thanks

pretty sure this has been implemented as PowerRename