- Code: Select all
Project1
Exports
Version3
Version2
old
Version1
Project2
Exports
Version11
Version10
Version9
old
Version8
Version7
Version6
I want a rule that will move all but the newest version of a file within an "Exports" folder to the "old" subfolder of that particular Exports folder. I.e., keep only the most recent version and move the rest into "old".
(Assume that each Version file with a higher number in name also has a more recent creation date.)
I.e., after processing it should look like this:
- Code: Select all
Project1
Exports
Version3
old
Version2
Version1
Project2
Exports
Version11
old
Version10
Version9
Version8
Version7
Version6
I thought I could use the "is not among the" (most recent) but that is not working.
I read the explanation about nesting "among" rules but that doesn't seem to apply. I think it's looking at ALL files in ALL exports folders.
Is this possible with Hazel?