I got tasked to move my company video archive from Google drive to a Google Cloud archive storage bucket. I have limited experience with gsutil and Google Colaboratory, but I ended up using Colab Pro as i can run this environment for 24 hours, and gsutil seemed like a good solution.
The goal is to copy videofiles from a Google drive to Google cloud and I'm getting some sort of feedback that I don't understand.
I'm using Philipp Lies solution:
code block 1:
from google.colab import drive
drive.mount('/content/drive')
code block 2:
from google.colab import auth
auth.authenticate_user()
project_id = 'my-project-id'
!gcloud config set project {project_id}
!gsutil ls
code block 3:
bucket_name = 'my-bucket-name'
!gsutil -m cp -r -n -L manifest.txt /my/drive/directory/* gs://{bucket_name}/
The console says 'ResumableUploadException' object has no attribute 'message'
The files that trigger this does not copy to the destination.
Is there any way to solve this?