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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started