• Intro Headers Instructions Macros Commands
Fork me on GitHub
    • Getting Started
      • How to install bnd
      • Guided Tour
      • Guided Tour Workspace & Projects
      • FAQ - Frequently Asked Questions
    • Concepts and Practices
      • Introduction
      • Concepts
      • Best practices
    • Build and Development
      • Project Setup
      • Generating JARs
      • Versioning
      • Baselining
      • Service Components
      • Metatype
      • Contracts
      • Bundle Annotations
      • Accessor Properties
      • SPI Annotations
    • Dependency and Launching
      • Resolving Dependencies
      • Launching
      • Startlevels
    • Testing
      • Testing
      • Testing with Launchpad
    • Packaging and Distribution
      • Packaging Applications
      • JPMS Libraries
      • Wrapping Libraries to OSGi Bundles
    • Documentation and Tools
      • Generating Documentation
      • Commands
      • For Developers
      • Templates for Workspaces
      • Tips for Windows users
      • Tools bound to bnd
    • Reference Material
      • Reference
      • Headers
      • Instruction Reference
      • Instruction Index
      • Macro Reference
      • Macro Index
      • Plugins
      • External Plugins
    • Configuration and Troubleshooting
      • Settings
      • Errors
      • Warnings
  • select [options] <[jar-path]> <[...]>

    Description

    Helps finding information in a set of JARs by filtering on manifest data and printing out selected information.

    Synopsis

    Options

    [ -h, --header <string>* ] - A manifest header to print or: path, name, size,
                                length, modified for information about the file,
                                wildcards are allowed to print multiple headers. 
    [ -k, --key ]              - Print the key before the value
    [ -n, --name ]             - Print the file name before the value
    [ -p, --path ]             - Print the file path before the value
    [ -w, --where <string> ]   - A simple assertion on a manifest header (e.g.
                                Bundle-Version=1.0.1) or an OSGi filter that is
                                asserted on all manifest headers. Comparisons
                                are case insensitive. The key 'resources' holds
                                the pathnames of all resources and can also be
                                asserted to check for the presence of a header.
    

    Examples

    biz.aQute.bnd (master)$ bnd select -h name generated/*.jar
    biz.aQute.bnd.jar
    biz.aQute.bnd (master)$ bnd select -h size generated/*.jar
    2604654
    
Search
    • Home