Moving children one level up only if the parent folder has one child

Hallo there everyone!
I'm totally new to Directory Opus and I was wondering Is there a way to check if the parent Folder have only one child (folder/file) then: move the child with it's content one level up and delete the Parent.
if the parent has more than one child (folder/file) then leave it as it is ?

so to sum it up there are 2 conditions :

  1. the parent has only one child
  2. this one child should be a folder and not a file

thanks in advance for your help

Yes, with a script. To see how to count and move stuff, look here:

1 Like

Exactly what i wanted ! thanks so much for sharing !!!