Search snapshot for packages matching query.

Usage:

$ aptly snapshot search <name> [<package-query>]

Params are:

  • name is snapshot name which has been given during snapshot creation
  • package-query is a package query to search for packages

If package query is omitted, all the packages are displayed.

Flags:

Example:

$ aptly snapshot search backports 'nginx, !Name (% *-light)'
nginx_1.6.0-1~bpo70+1_all
nginx-full_1.6.0-1~bpo70+1_amd64
nginx-extras_1.6.0-1~bpo70+1_i386
nginx-extras_1.6.0-1~bpo70+1_amd64
nginx-full_1.6.0-1~bpo70+1_i386
nginx-naxsi_1.6.0-1~bpo70+1_amd64
nginx-naxsi_1.6.0-1~bpo70+1_i386