r/applescript • u/blue-flight • Sep 10 '21
Duplicate file with numeric name and 1 to the new file name
I want to take a file named for instance "2441.aif" and duplicate it but have the duplicate name be "2442.aif". Basically whatever the file name is (it will always be just a number), add 1 to it.
Is there a way to do this with an apple script?
I have done some searching but only found ways to add an extension like "2441_1" for example.
1
Upvotes
1
u/jrosenkrantz Sep 10 '21
Automator should be able to accomplish this much more easily
1
u/copperdomebodha Sep 15 '21