Link to home
Start Free TrialLog in
Avatar of nicky s
nicky sFlag for United States of America

asked on

Need command to curl and download all artifacts from artifactory folder with uid and pd

curl to download all artifacts from artifactory folder
Avatar of David Favor
David Favor
Flag of United States of America image

There's really no way to do this.

If you're looking to preserve uid or other things like ACLs + XATTRs then you'll use rsync.

You can preserve uids by specifying --numeric-ids in your rsync command.

If by pd you mean parent directory, the way you'd preserve this is by something like this...

mkdir pd
rsync -av --numeric-ids $user@$host:path-to-pd/. pd/.

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of noci
noci

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Try wget

wget  -r -p -U Mozilla /artifactory/folder