2

When I do

jfrog rt dl a/b/c.zip

I would expect c.zip to be in the current directory, but it is written to a/b/c.zip, for whatever reason. How can I force the CLI to download it to the current directory?

TylerH
  • 20,799
  • 66
  • 75
  • 101
JohnnyFromBF
  • 9,873
  • 10
  • 45
  • 59

1 Answers1

3

The --flat option is what you are looking for.

From the documentation:

[Default: false]

If true, artifacts are downloaded to the exact target path specified and their hierarchy in the source repository is ignored.

If false, artifacts are downloaded to the target path in the file system while maintaining their hierarchy in the source repository.

Prostagma
  • 1,756
  • 9
  • 21