odeke-em / drive

Google Drive client for the commandline
Apache License 2.0
6.69k stars 427 forks source link

List all clashes #317

Open dlakata opened 9 years ago

dlakata commented 9 years ago

I'm trying to set up drive, and drive pull is giving me a bunch of name clashes. I think this is helpful, but it's annoying that drive aborts when it finds clashes in a directory. After I resolve the clashes, I have to rerun drive pull, which then finds more clashes in another directory and aborts again.

Would it be possible for drive to list all the clashes? This could either be a command like drive clashes that lists all the current clashes, or drive pull could have an option to show all the clashes, without aborting.

pefoley2 commented 9 years ago

I've also run into this issue.

ikwyl6 commented 9 years ago

I would also like to see this. I was partially asking this in #287.

odeke-em commented 9 years ago

Hello @dlakata, welcome to drive and thank you for reporting this issue.

That's curious because I thought this issue has been fixed in https://github.com/odeke-em/drive/issues/262. Please run:

$ go get github.com/odeke-em/drive-gen && drive-gen
$ drive version

to give me the commit information. Thank you.

dlakata commented 9 years ago
drive version: 0.2.7
Commit Hash: '9990f32e38b13e8461a049b2fefa16ff447f55f0'
Go Version: go1.3.3
OS: linux/amd64
BuildTime:
odeke-em commented 9 years ago

Thank you for this information. I'll try debugging it later when I jump back to programming. For now to avoid this issue blocking you, you could rename the clashing files drive rename <src> <dest> or ignore-clashes(this option though might mean that your data will go to the first greedily matched dir).

ob7 commented 9 years ago

You can overwrite with --ignore-name-clashes

ikwyl6 commented 9 years ago

Any idea on when you could look at this item?

ob7 commented 9 years ago

Is passing --ignore-name-clashes not working for you?

ikwyl6 commented 9 years ago

It works but how am I supposed to know beforehand what clashes exist? My assumption would be that these should be listed in drive diff without a -ignore-name-clashes flag

odeke-em commented 8 years ago

Hey folks, I was wondering if y'all could try this again.

odeke-em commented 8 years ago

Please get the latest from master as I've done some work in https://github.com/odeke-em/drive/pull/528.

colinkeenan commented 8 years ago

I just had this issue where it reports clashes but doesn't list anything. Looking through what it was going to push, I saw a ton of stuff that I haven't touched in almost 2 years. Looking at that directory in the web browser, I saw that everything had been duplicated, recursively, for no reason. I deleted the whole directory through the web browser and then pushed it back up using drive.

odeke-em commented 8 years ago

Postponed to v0.3.7 to pave way for the integration of the new end to end encryption package.