Nuxeo Shell : Delete Orphaned Binaries

Hello ,

I want to do a nuxeo shell script to delete orphand binaries .

Does-it exist on the package or someone have done this script ?

Thanks

Jean-Baptiste DENIZE

0 votes

2 answers

115 views

ANSWER



Hello,

Here it is in the source code https://github.com/nuxeo/nuxeo/blob/master/nuxeo-distribution/nuxeo-nxr-server/src/main/resources/templates/common-base/client/scripts/deleteOrphanBinaries.groovy

You will also find it in the distribution: $NUXEO_HOME/client/scripts/deleteOrphanBinaries.groovy

Regards

1 votes



Thanks

Can i launch it with the nuxeo shell jar on my unbuntu server ?

0 votes