Note: the content in this article also applies to copying artifacts between repositories.
One feature of Artifactory is the ability to easily move artifacts from one repository/location to another. The most straightforward way to do this is by right clicking on the artifact in the UI and then selecting ‘Move’. Afterward, the user specifies the target location for which to move the artifact. This basic move functionality is also supported by the Move Item API endpoint.
There are scenarios, however, where there are many or very specific artifacts to move. In this case, the best approach is to use a combination of the JFrog CLI along with Artifactory Query Language (AQL) to accomplish this task.
One feature of Artifactory is the ability to easily move artifacts from one repository/location to another. The most straightforward way to do this is by right clicking on the artifact in the UI and then selecting ‘Move’. Afterward, the user specifies the target location for which to move the artifact. This basic move functionality is also supported by the Move Item API endpoint.
There are scenarios, however, where there are many or very specific artifacts to move. In this case, the best approach is to use a combination of the JFrog CLI along with Artifactory Query Language (AQL) to accomplish this task.