We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
mv
When mv is used to move a file between buckets, it behaves differently depending on whether a subfolder with the same name exists.
test-bucket
test-bucket-2
touch 12345.txt
gsutil cp 12345.txt gs://test-bucket/folder/nested_folder/aaaa/bbbb/cccc/12345.txt
gsutil -m mv gs://test-bucket/folder/nested_folder gs://test-bucket-2/folder/nested_folder
gsutil ls "gs://test-bucket-2/folder/nested_folder/**"
First Output should be as follows:
gs://test-bucket-2/folder/nested_folder/aaaa/bbbb/cccc/12345.txt
step 5
nested_folder
gs://test-bucket-2/folder/nested_folder/aaaa/bbbb/cccc/12345.txt gs://test-bucket-2/folder/nested_folder/nested_folder/aaaa/bbbb/cccc/12345.txt
I am not sure if this is an expected behavior but same command producing two different results depending on the bucket structure does not feel right.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When
mv
is used to move a file between buckets, it behaves differently depending on whether a subfolder with the same name exists.Reproducing steps
test-bucket
andtest-bucket-2
.test-bucket
with the following subfolders.test-bucket-2
.test-bucket-2
.First Output should be as follows:
step 5
included a secondarynested_folder
in it.I am not sure if this is an expected behavior but same command producing two different results depending on the bucket structure does not feel right.
The text was updated successfully, but these errors were encountered: