Skip to content

Instantly share code, notes, and snippets.

@shinwachi
Created August 22, 2020 06:09
Show Gist options
  • Select an option

  • Save shinwachi/a6fb30619c1ddbefbeb3ed78f3774320 to your computer and use it in GitHub Desktop.

Select an option

Save shinwachi/a6fb30619c1ddbefbeb3ed78f3774320 to your computer and use it in GitHub Desktop.

Revisions

  1. shinwachi created this gist Aug 22, 2020.
    8 changes: 8 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    # find all knime nodes to install
    find . -name "settings.xml" -printf "\"%p\" " | xargs grep 'node-feature-symbolic-name' | grep -oP '.*value="\K[^\"]+' | sort | uniq

    # find all installed nodes
    ./knime -application org.eclipse.equinox.p2.director -nosplash -consolelog -listInstalledRoots | sort

    # find differences between the two
    comm x y