Bulk remove notes

Of course agree on the caution --and the recommendation.

Question: could you build in a protection against this irreversibility, with a sequence like this?

  • Create a new string attribute, like $OldPath
  • Set up an agent to deal with all items, or just the ones you think might be deleted, and have its action be $OldPath=$Path(original). (Which would assign the existing container structure to an attribute – and save it for later reference.) Obviously you would want to run this agent only once, or maybe apply it as a stamp, so it wouldn’t get updated and overwritten if you moved the originals.
  • Then apply the agent that would move the notes to the \Trash container.

As a failsafe, you could send things back to where they started with an undo-style agent, whose action was $Path(original)=$OldPath(original). Right? Or is there a step I am not understanding?