Skip to content

azcopy --preserve-symlinks returning error code if symlinks target is not resolved #2273

Open
@dwr-psandhu

Description

@dwr-psandhu

Which version of the AzCopy was used?

10.19.0

Which platform are you using? (ex: Windows, Mac, Linux)

Linux

What command did you run?

Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.

azcopy copy "http...?$SAS" localdir --recursive --preserve-symlinks

What problem was encountered?

All symlinks and files were copied to local. However the return code from the command is non-zero resulting in the bash script with set -e

How can we reproduce the problem in the simplest way?

Run the command check exit code

Have you found a mitigation/solution?

ignoring the error temporarily
cmd || true

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions