Difference between revisions of "Jfrog rt search"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
  
  jfrog rt s my_not_found_artifact
+
  [[jfrog rt]] s my_not_found_artifact
 
  [Info] Searching artifacts...
 
  [Info] Searching artifacts...
 
  [Info] Found 0 artifacts.
 
  [Info] Found 0 artifacts.
 
  []
 
  []
 +
 +
jfrog rt s a*
  
  

Latest revision as of 12:46, 17 April 2021

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: