Page 1 of 1

Bulk renaming

PostPosted:Thu May 09, 2019 1:25 pm
by LauryMenton
Hi,
Is actually possible to rename a huge number of files at once within OpenKM? Maybe running some script from its Admin panel?
By now, the only way I have is pack them into a ZIP file, move it to Windows, unpack and rename with a special tool. Then, zip all again, load into OpenKM, delete old files. And, the wrost thing: add previous associated tags (keywords), categories, notes, and any other related info.

Maybe an integrated option would be appreciated in future releases. (I'm on Community Edition)

Re: Bulk renaming

PostPosted:Fri May 10, 2019 2:25 pm
by jllort
MIght be done from scripting:
1- getDocuments -> https://docs.openkm.com/kcenter/view/ok ... etChildren
2- rename -> https://docs.openkm.com/kcenter/view/ok ... tml#rename based in some logic