I have a bucket on GCP and at the top level of this bucket, I have a bunch of folders.
I want to create a new folder and move all of the other ones into it.
However, I've mounted my bucket with gcsfuse
and tried traditional Linux mv
commands. This is not allowed, apparently.
Likewise, I have also tried gsutil -m mv gs://mybucket/* gs://mybucket/new_folder/
and have received the command error that wildcards are not allowed in this operation.
What's the best option to get this large number of files moved into a new directory?