Duplicate files: every time i use "drive upload --share --file xyz" a duplicate "xyz" is created.
A new id number is created for each copy of "xyz". I am using this to share a few spreadsheets however, the documents will be updated from time to time. I cannot figure out how to prevent the duplicates using this tool which means I cannot send some a link to a document and then update the document later.
This would be a very important function. I'd like to backup multiple files automatically, i.e. mirror the local folder to Google Drive cloud.
Yes, i would love gdrive to use Google Drive revision system for example.
I also need this if it real.
@tonyroza The behavior you're seeing is how Google Drive works. It doesn't uniquely identify files by name.
User @occho made a fork to add an update file feature, which is what I believe you and others have been looking for. I tested it briefly and it works, although I had to change some of the imports to build the binary correctly. Example:
drive.exe upload -u 0BytCbNhl3nyPelYtNGNzdlEtbkU -f time.txt
@robertogomez Can you please upload a compiled version of that specific fork? Im not able to compile the source.
@berna - Are you using golang v1.4.2 when compliling gdrive ?
It is the only version i have ever used to compile gdrive , and it has always worked (tried with v1.5.2 , but was getting errors).
@Drezzler I tried the last version on Linux. Have you suceeded compiling with v.1.4.2?
@berna1995 Hi I uploaded executables I made with golang v1.4.2. https://drive.google.com/file/d/0B5wVSvViMOXmSGVmdFlUX0dtVm8/view?usp=sharing I will remove it at some later point.
@occho Thank you very much. I'll test later. :+1:
@occho Works like a charm for me! Thanks a lot! :+1:
gdrive 2 supports updating files: gdrive update 0B3X9GlR6EmbnNTk0SkV0bm5Hd0E gdrive-osx-x64.