Page 1 of 1

Having trouble with Rename

PostPosted: Wed Dec 13, 2023 10:51 pm
by mforce
I have a rule and once it is matched, I copy a file to two new locations and then rename it with date and time as part of the file name.

Here is the actions taken:
Copy to folder (specified folder 1)
Rename with pattern: [name]--date modified][extension]
Copy to folder (specified folder 2)
Rename with pattern: [name]--[date modified][extension]

[date modified] contains this date and time pattern: 1999_12_31--01.30.59

The file gets copied to folder 1 and is renamed exactly as expected.
filename--2023_12_13--09.26.52.numbers
The file gets copied to folder 2 but is renamed incorrectly.
filename--2023_12_13--09.26.52--2023_12_13--09.26.52.numbers

The date pattern is repeated twice on the second rename.
Any assistance or ideas would be greatly appreciated.

Re: Having trouble with Rename

PostPosted: Thu Dec 14, 2023 9:56 am
by Mr_Noodle
When doing a copy, any subsequent actions apply to the copy, not the original. So, you can either omit one rename action or split it into two rules, using a Continue action in the first one.

Re: Having trouble with Rename

PostPosted: Sun Dec 17, 2023 9:41 pm
by mforce
Mr_Noodle wrote:When doing a copy, any subsequent actions apply to the copy, not the original. So, you can either omit one rename action or split it into two rules, using a Continue action in the first one.


Thanks for you assistance. With your advice, I cam up with a different method to accomplish this task.