Copy Folder/Directory Structure without files

Simply Copy/Pasting a group/directory substructure does not seem to work. Is there a way to accomplish this? Thanks Victor

I suppose that it might be possible with a script. Select a group in DT, then in the script start from the selected group and “copy” that to whereever you want it. Recursively copy all groups with their group children. Not sure

  • if that’s possible in AppleScript (recursion?)
  • if one would even want to try it
    Might be easier to copy it with all the records and then delete only those.

For some reason simple copy paste of the sub group/directory structure does not work

This script by @cgrunenberg copies a group structure.

Note: The script was written for DEVONthink 2. You have to change each line that uses the old identifier

tell application id "com.devon-technologies.thinkpro2"

to

tell application id "DNtp"

2 Likes