gcsfs icon indicating copy to clipboard operation
gcsfs copied to clipboard

mv and rename not working as expected

Open L1st3r opened this issue 3 years ago • 0 comments

I create a folder in a bucket "/my-bucket/folder/" which contains some text files. I then run

fs.rename("/my-bucket/folder/", "/my-bucket/new_folder", recursive=True)

Instead of seeing "/my-bucket/new_folder", I see "/my-bucket/new_foldermy-bucket/folder"

That doesn't seem correct. mv does the same thing.

Testing with fsspec and the localfilesystem give the expected result of there being just a "/folder/new_folder" that you would expect

L1st3r avatar Aug 18 '22 23:08 L1st3r