File: select.md

package info (click to toggle)
bnd 5.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 44,092 kB
  • sloc: java: 249,039; xml: 90,727; sh: 655; perl: 153; makefile: 95; python: 47; javascript: 9
file content (33 lines) | stat: -rw-r--r-- 1,355 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
layout: default
title:     select [options] <[jar-path]> <[...]> 
summary: Helps finding information in a set of JARs by filtering on manifest data and printing out selected information. 
---

## Description

{{page.summary}}

## 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