jfrog / jfrog-cli

JFrog CLI is a client that provides a simple interface that automates access to the JFrog products.
https://www.jfrog.com/confluence/display/CLI/JFrog+CLI
Apache License 2.0
529 stars 224 forks source link

Trouble copying folder form one repo to other by reserving date and timestamp using JFrog CLI. #1583

Open BhargavPolampalli opened 2 years ago

BhargavPolampalli commented 2 years ago

JFrog CLI could not reserve date and timestamp while transferring folders from one repository to another. It is important to reserve date and timestamp to keep track of the folders.

A JFrog CLI command that reserves date and timestamp after copying folders from one repository to another.

NandiniDJFrog commented 2 years ago

@eyalbe4 The fundamental issue here is that the behavior of the copy function on the JFROG CLI does not match the copy behavior from the UI and REST API.

If you copy a folder and its contents containing items using the UI or REST API, the contents of the copied folder have the same created timestamp as the original. When using the CLI, the timestamp of the copied folder is updated to when the copy was done.

talarian1 commented 2 years ago

Hi @BhargavPolampalli, @AnandDJFrog Could you please share with me the exact JFrog CLI command you are running and the JFrog CLI version?