Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi, this is the file.spec below, listing all jfrog artifacts in my repositories. But I wan to modify this script, to list only certain numbers

Hi,

this is the file.spec below, listing all jfrog artifacts in my repositories. But I wan to modify this script, to list only certain numbers of artists.

For example, skip the first 10, and list the rest.

Another way, list everything(n) as this code is doing, but get the last (n-5).

To ron this code, do

Jfrog rt s --spec file.spec

(The idea is to delete that list and keep the first (n-5))

{ "files": [ { "aql": { "items.find": { "repo": {"$match":"*"}, "path": {"$match":"*"}, "name": {"$match":"*"}, "stat.downloads":{"$eq":null}, "$or": [ { "$and": [ { "created": { "$before":"12mo" } } ] } ] } } } ] }

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Making Databases Work The Pragmatic Wisdom Of Michael Stonebraker

Authors: Michael L. Brodie

1st Edition

1947487167, 978-1947487161

More Books

Students also viewed these Databases questions