You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to share a ToDo List betweeen Debian and Android.
On Debian todotxt-cli + google-drive-ocamlfuse let's me store the data in a Google-Drive folder.
All works well from either todotxt-cli - OR - Android ToDo.txt (published by Aditya Bhaskar).
But when list is edited by todotxt-clii, the todo.txt file on google-drive gets changed to mime-type = binary, which makes it invisible to the Android app. Researching this, I found similar report from someone editing google drive file with Libre Office, and suspected cause being that Libre is creating a new .tmp file for editing, then renaming it to odt (or other appropriate Libre file extension). Looking at the Google-API, appears one may explicitly set mime-type, but of course todotxt is not using the API. GDFuse is, but of course cannot assume what mime-type todotxt or Libre is going to create.
If this is indeed a problem of file extension and google assuming it be binary:
Is there possibly an other temporary file extension that might be used, which google would automatically type as plain-text?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Trying to share a ToDo List betweeen Debian and Android.
On Debian todotxt-cli + google-drive-ocamlfuse let's me store the data in a Google-Drive folder.
All works well from either todotxt-cli - OR - Android ToDo.txt (published by Aditya Bhaskar).
But when list is edited by todotxt-clii, the todo.txt file on google-drive gets changed to mime-type = binary, which makes it invisible to the Android app. Researching this, I found similar report from someone editing google drive file with Libre Office, and suspected cause being that Libre is creating a new .tmp file for editing, then renaming it to odt (or other appropriate Libre file extension). Looking at the Google-API, appears one may explicitly set mime-type, but of course todotxt is not using the API. GDFuse is, but of course cannot assume what mime-type todotxt or Libre is going to create.
If this is indeed a problem of file extension and google assuming it be binary:
Is there possibly an other temporary file extension that might be used, which google would automatically type as plain-text?
Beta Was this translation helpful? Give feedback.
All reactions