Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azcopy sync --dry-run errors on files with % in name (issue #2349 again?) #2808

Closed
simplerit opened this issue Sep 15, 2024 · 1 comment · May be fixed by #2781
Closed

azcopy sync --dry-run errors on files with % in name (issue #2349 again?) #2808

simplerit opened this issue Sep 15, 2024 · 1 comment · May be fixed by #2781
Assignees
Labels

Comments

@simplerit
Copy link

This looks to be a repeat of issue #2349 which is closed.

This is a problem with the latest azcopy version 10.26.0.

Seen on these clients: Windows Server 2019, Ubuntu Linux 24.04, Azure cloud shell.

Command run (where localDirectory has a file with filename containing %):

azcopy sync localDirectory https://storageaccount.blob.core.windows.net/container/ --dry-run

When this command is run, azcopy terminates with error panic: invalid URL escape "%te". Note that without "--dry-run" it works properly.

To reproduce the problem:

mkdir tmp
echo "hello" > tmp/%test.txt
azcopy sync tmp https://storageaccount.blob.core.windows.net/container/ --dry-run

Without "--dry-run" it works, but we want to determine the number of files that changed before we upload to our blob storage backup. We haven't found a way to work around this using azcopy. If this can't be fixed we could possibly use rclone instead of azcopy.

@dphulkar-msft
Copy link
Collaborator

The fix will be available in 10.27.0 version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants