Questions tagged [flysystem-google-drive]

50 questions
0
votes
0 answers

Move google drive folder with all files/folders in it from one directory to another based on google sheet value

I want the folders with all the files or subfolders in them to be moved from one directory/folder to another based on the value in google sheet, but at the same time not change the Id of the folder because the folder is shared with other team…
0
votes
0 answers

Path issues in google colab

I am having trouble getting google collab to accept a path I specified for a folder. data_dir = "/content/drive/MyDrive/Traffic_sign/TSF/Traffic_sign_classification" !ls train_path = 'Train' test_path = 'Test' # Resizing the images to…
0
votes
1 answer

upload files to any user's google drive after they authenticate

I want to upload files from my server to my users's google drive storage, after they authenticate, the questions are: Is it possible to do that? Do I have to re-authenticate the user every time they like to upload a new file? Could I embed the…
0
votes
0 answers

(GDrive API) Access token needed without logging in for users to download files

I have an application where documents can be viewed. These documents exist in my Google Drive and viewers are not allowed to download (or screenshot) the documents, since I use this code while uploading a document to the…
0
votes
2 answers

BigQuery external table creation failed with "autodetect" schema while reading a file from Google Drive

I am trying to create a BigQuery external table by reading a file from Google Drive - it works with inline scheme but failed with autodetect flag. Document referenced: https://cloud.google.com/bigquery/external-data-drive Schema File: $ bq mkdef…
0
votes
0 answers

Google is rolling out single parenting instead of multiple parenting for files and folders in GDRIVE. What is the advantage? I only see inconvenients

Multiple parenting advantages instead of single parenting: You can see all the parents in the info bars When you grant access to the file you do it one time whereas with single parenting you have give acces to the file and each shortcut If you…
Mikah
  • 75
  • 8
0
votes
2 answers

How to resolve error in Google Storage Client in Symfony?

I am developing a project in Symforny 5 and I want to use Google Cloud Storage, install thephpleague / flysystem-bundle with superbalist / flysystem-google-storage support, as indicated in the documentation, generate the credentials.json in Google…
0
votes
1 answer

shutil.copy2 gives "SameFileError" altho files are not at all the same - why?

File "C:\WPy64-3810\python-3.8.1.amd64\lib\shutil.py", line 239, in copyfile raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) SameFileError: 'G:\\My Drive\\xxxxxxxxxxxx\\Customers (CR, Kit, &…
nerdfever.com
  • 1,652
  • 1
  • 20
  • 41
0
votes
2 answers

Is there a keyboard shortcut to automatically create Google Drive files (docs or sheets) from Finder (Mac)?

My workflow with Google Drive usually begins interacting with my Google Drive filesystem from Finder. When I need to open a file I can open it via Finder (CMD + O), which opens in a browser. I can similarly duplicate, delete, rename, move Drive…
0
votes
1 answer

Is there a way to Archive files and folders to a specific folder in Google Drive and keep folder path?

I'm using Google Drive and I'd like to Archive all the files synced with my computer which are older than a certain amount of time. As a result, the archived files will disappear from my computer on the next sync. I've found several scripts to…
poypoy
  • 107
  • 1
  • 13
0
votes
1 answer

G-script : List and Filter G-Drive Files from Variables Stored in a G-Sheet

I try to list files from G-Drive with filters. Filters variables are stored in a G-Sheet. Here comes the code. It does not work. But it does when I put text string instead of variables. Thanks a lot, function Lister_fichiers() { // Log the name…
0
votes
0 answers

How to find file property that is showing google drive synced tick mark

I am using google drive sync app. Once the file is synced from pc to drive , its file icon is show tick mark that means it is completed. I want to run a scheduled task everyday that delete all files that is already synced to google drive. For that…
0
votes
0 answers

Is it possible to authenticate to a different Google Drive user in PyDrive?

I connected to my Google Drive using this code !pip install -U -q PyDrive from google.colab import files from pydrive.auth import GoogleAuth from pydrive.drive import GoogleDrive from google.colab import auth from oauth2client.client import…
0
votes
1 answer

How to get to know if new file added to a particular folder in google drive

How do I monitor changes to a particular folder in Google drive using drive Java API? I am trying the code below, but it give changes for complete drive. I need the changes for one particular folder StartPageToken response =…
0
votes
1 answer

C# GoogleDrive API V3 list files, property "parents" always null

I'm trying to find out from files parents value to find out the contents of certain folders. I am using API version three. For some reason, Google does not allow to know the property "parents", always returns null. What could be the reason? I…