Photos - duplicate folder and it's contents

So I have a folder

-- folder
   -- smart album
   -- album
      -- folder2
         -- smart album

Can AppleScript take the selected folder and duplicate it and it’s contents? Or does anyone know of an app?

Any help would be appreciated, thanks

Assuming this is all within Photos.app, this is going to be hard to do.

First off, Photos has no mechanism to duplicate folders or albums. It does have a duplicate command, but it is explicitly related to media items only:

There’s also no UI element to duplicate a folder, so you can’t fake it via UI scripting.

So that leaves the idea of walking through the source folder, recreating it item-by-item. However, there is zero support in AppleScript for smart folders, so while you might be able to recreate the albums and folders from your source, there’s just no practical way (that I can see) to recreate smart folders.

So I don’t see any way to do what you ask.

Maybe I’m wrong, but others are free to correct me :slight_smile:

thanks for the response. appreciated. Hopefully another way to duplicate instead of a manual process.

Why do you want to duplicate a folder structure (and contents)?