Home / Companies / JFrog / Blog / Post Details
Content Deep Dive

Advanced Cleanup Using Artifactory Query Language (AQL)

Blog post from JFrog

Post Details
Company
Date Published
Author
Shay Bagants, JFrog Software Architect
Word Count
831
Company Posts That Month
3
Language
English
Hacker News Points
-
Post removed?
No
Summary

Artifactory administrators often face the challenge of managing storage space by cleaning up unused or outdated artifacts, but standard cleanup methods may not meet their specific needs. Artifactory Query Language (AQL) offers a customizable solution, allowing users to create complex queries based on specific criteria, such as file size, creator, or download status, and is accessible via a RESTful API. A provided Groovy script demonstrates how to use AQL to identify and delete files that meet particular conditions, such as being unused, large in size, or tagged with specific properties. This script allows administrators to tailor the cleanup process to their requirements by modifying query parameters, setting up server credentials, and choosing between a dry run or actual deletion, thereby offering a flexible approach to managing storage in Artifactory.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 1 221 43 19 +92%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.