Skip to content

queue API methods re import

Steve edited this page Apr 29, 2020 · 1 revision

batchReimport(image: boolean = true, metaData: boolean = true, httpOptions?: IHTTPOptions): void ~> Promise <boolean>

Re-import all files currently collected in the queue from their sources. The first two arguments define whether to re-import image data or metadata - or both.

queue.login("user", "password");
queue.listServer("some/path", { recursive:true });
queue.batchReimport(true, true);
queue.logout();
queue.run();

Note: the methods above just add the commands to the queue. Execution starts when calling queue.run() or queue.runWithResults(). The ~> indicates the result type.
Clone this wiki locally