public static IStatus createLinkedFolders(IContainer container, IProgressMonitor monitor, Path... paths) {
        IWorkspace workspace = ResourcesPlugin.getWorkspace();
        CreateLinkedFoldersRunnable action = new CreateLinkedFoldersRunnable(container, paths);
        try {
            workspace.run(action, monitor);
        } catch (CoreException e) {
            return e.getStatus();
        } catch (Throwable e) {
            return GeneralUtils.makeErrorStatus(action.composeErrorMessage(container, paths), e);
        }
        return Status.OK_STATUS;
    }
Bulk operation to create several linked folders

@param container
@param monitor
@param paths
@return
plugins/org.jkiss.dbeaver.ui.navigator/src/org/jkiss/dbeaver/ui/navigator/actions/links/LinkFolderHandler.java