summarize working-steps to a "batch" / rename chal

If you need help on how to use the program
Post Reply
rg123
Posts: 2
Joined: 2012-03-12 07:49:54

summarize working-steps to a "batch" / rename chal

Post by rg123 »

I have two questions regarding Ant Renamer 2.10:

Is it possible to summarize several working-steps to a "batch" that can be stored and called again later (only: select new filenames and call the "Batch")?

I have filenames (with caracters ".") that I want to rename depending on the following rules:
1) Every character before the first appearance of the character "#" is to be deleted (incl. the character "#" itself)
2) Every character "+" is to be changed to the character blank
Example: The filename
AAA.AAAA.AA#BBB+CCCCCCCC+DDDDD+EEEEEEEEEEEEEE+FF
is to be changed into
BBB CCCCCCCC DDDDD EEEEEEEEEEEEEE FF
antp
Site Admin
Posts: 9673
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

There is a way to add several actions to a "batch" and then save that to a file, cf toolbar buttons in the "action" page.
So in this case you could combine the "delete character" action for 1, repeat it a second time with other parameters to remove the # which would be the 1st character then, and then use the string replacement for 2.
Check the help file for how to use the batch thing ;)
rg123
Posts: 2
Joined: 2012-03-12 07:49:54

Post by rg123 »

With your tips I could resolve my problems.

To throw away the first part of the filename, I went another way:
I used the "Regular Expression"- function with
- Expression: .*#
- New name: <empty>

It would be great, if there would be a manual for ant renamer, especially regarding the expressions, I can use in ant renamer. The help function is too minimalist.

But also without a manual or a more detailed help function: Ant renamer is a great tool! Thanks for it!
Post Reply