Recursively copy a child directory to the parent in Google Cloud Storage
Recursively copy a child directory to the parent in Google Cloud Storage Question: I need to recursively move the contents of a sub-folder to a parent folder in google cloud storage. This code works for moving a single file from sub-folder to the parent. client = storage.Client() bucket = client.get_bucket(BUCKET_NAME) source_path = Path(parent_dir, sub_folder, filename).as_posix() …