Download all files from a Nexus directory of a raw repo

6.6k Views Asked by At

I have a Nexus raw-repository and want to download all files from a specific directory. I know the directory but not the names of the files in it. Nexus Version is 3.28.1-01.

With wget i'm able to download one specfic file, with knowing it's name:

wget --http-user="xy" --http-password="z" "https://nexus.oururl/repository/testraw/de/x/y/z/test.yaml"

But no attempt to get all files in this directory is working:

wget --http-user="xy" --http-password="z" -r -np "https://nexus.oururl/service/rest/repository/browse/testraw/de/x/y/z"

wget --http-user="xy" --http-password="z" -r -np "https://nexus.oururl/repository/testraw/de/x/y/z"

Both give 404.

Is there a solution?

0

There are 0 best solutions below