Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!