Jfrog rt search

From wikieduonline
(Redirected from Jfrog rt s)
Jump to navigation Jump to search
jfrog rt s my_not_found_artifact
[Info] Searching artifacts...
[Info] Found 0 artifacts.
[]
jfrog rt s a*


jfrog rt search --spec artifactory.spec or jfrog rt s --spec artifactory.spec

Created before 6 months:

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

https://stackoverflow.com/questions/40118550/artifactory-delete-all-artifacts-older-than-6-months


See also[edit]

Advertising: