drive icon indicating copy to clipboard operation
drive copied to clipboard

Having Issues with Push

Open msf004 opened this issue 7 years ago • 2 comments

I can pull a file fine: drive pull -force -no-prompt -export txt <filename>

If I change it locally (using vi) - even significant changes and attempt to push via: drive push -force -no-prompt -convert <filename>

Results in : Everything is up-to-date.

I then tried to pull the file, then trash the file (drive trash , make changes, and then push. But when I go to my GDrive it shows an empty file.

If I manually delete the file in my Google Drive, then try to push, that works. ...but my goal is to push changed files without having to login to "My Drive" and manually delete the file each time.

Any thoughts by anyone?

EDIT: I did notice that if I attempt to diff using:

drive diff <filename>

I get:

is set to be ignored yet is being processed. Use force to override this

...but using -force or force with diff does not appear to be an option.

msf004 avatar Nov 14 '18 19:11 msf004

I'm having a slightly different issue, but I imagine it's related so I'm going to jump on here:

A changed file results in

$ drive push
Resolving...
Everything is up-to-date.
$

Trying to diff:

$ drive diff
$

drive version: 0.3.9.1

sjsadowski avatar Nov 21 '18 15:11 sjsadowski

There are some circumstances where drive will not detect changes in files with the default settings as specified here https://github.com/odeke-em/drive#verifying-checksums

It would be useful to repeat your tests with checksums enabled to confirm your problem is a separate issue.

regards CB

CountryBumkin avatar Nov 21 '18 20:11 CountryBumkin