now I have a file of a lot of such structure:
* one
:PROPERTIES:
:CUSTOM_ID: one
:END:
* one
:PROPERTIES:
:CUSTOM_ID: one
:END:
* one
:PROPERTIES:
:CUSTOM_ID: one
:END:
* one
:PROPERTIES:
:CUSTOM_ID: one
:END:
* two
BROWN FOX
* two
BROWN FOX
* two
BROWN FOX
* two
BROWN FOX
how can I revert it back so there is only one of every entity?
tramp
tag from your question. It wouldn't be related then.