Is your feature request related to a problem? Please describe.
Fastai uses fastbook.setup_book as an equivalent to mount Google Drive. This is weird and not very specific. Moreover, it uses the name that is not the default in the code template of Google Colab to mount (/content/drive vs /content/gdrive).
Describe the solution you'd like
We could create a GoogleDrive class with different methods:
mount: mount Google Drive (with the code to copy, or any other simpler solution if that exists)
enter to do a "cd" and start working in Google Drive instead of /content which is the default)
copy to copy a file
move
delete
ls to list files (with potential specification of file type like image, text, csv, archive, zip, pkl, all)
Describe alternatives you've considered
An alternative is to juste create a mount_gdrive function that could return the Path of mounted Google Drive.
Additional context
N/A
Is your feature request related to a problem? Please describe.
Fastai uses
fastbook.setup_bookas an equivalent to mount Google Drive. This is weird and not very specific. Moreover, it uses the name that is not the default in the code template of Google Colab to mount (/content/drivevs/content/gdrive).Describe the solution you'd like
We could create a
GoogleDriveclass with different methods:mount: mount Google Drive (with the code to copy, or any other simpler solution if that exists)enterto do a "cd" and start working in Google Drive instead of/contentwhich is the default)copyto copy a filemovedeletelsto list files (with potential specification of file type likeimage,text,csv,archive,zip,pkl,all)Describe alternatives you've considered
An alternative is to juste create a
mount_gdrivefunction that could return the Path of mounted Google Drive.Additional context
N/A