![]() ![]() ![]() chmod - make the undo script executable.create (hopefully unique) name for undo script.Set "pass input" to "stdin" and create a script like: #!/bin/sh You mention using automator with a shell script. I don't think the "batch rename" functionality of Pro Tools will be able to do the counting you want. What regular expression would yield the following? Casio AA_12_Test_A3_rr1 I've gotten as far as Find: _rr(.*), but I can't figure out how to create a number sequence that restarts based on preceding text patterns/changes.įor a concrete example, take this set of data: Casio AA_12_Test_A3_rr_01-03 What do I need to enter in the "Find" and "Replace" fields to replace all text proceeding _rr with sequential numbering (1, 2, 3, etc.) that restarts every time the string preceeding _rr changes? I'd like to batch rename many items in a program that supports batch renaming using regular expressions (Pro Tools). The question has shifted to how to achieve the following by batch renaming files in Finder using an Automator app with the Run Shell Script command. Regular Expressions in Pro Tools doesn't support something as specific as this. EDIT: My original goal was to use Regular Expressions in Pro Tools' "Batch Rename" dialogue. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |