-
Notifications
You must be signed in to change notification settings - Fork 427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drive push is creating duplicates #137
Comments
Interesting. Good thing there are tagged releases so you could bisect the commits (manually or whatever way) between the releases between 0.1.5 and 0.1.6. |
I have no evidence this isn't still happening. |
If you could reproduce this, it would be helpful. |
I seem to be getting the same problem recently. Earlier today I was using Example: For my purposes, I simply want to transfer files to my google drive from my local directory (rather than mirror them again in myhome directory). In addition to the above problem, the Thanks for your help. |
Okay |
Yeah...I had the distinct feeling that the |
I've never used the |
@l3iggs any re-spotting of this issue? |
I still have this problem. It happens more infrequently now that I'm not using 'push -m', but still frequently enough to cause enough problems. It seems to happen when I'm transferring large amounts of files (>5000 files). It also duplicates folders. I'm using symbolic links of my folders in different locations on my HDD. That could be the problem. |
I am doing exactly the same thing and also getting massive duplication: 'drive push' to move huge amounts of files (10-100GB) that are inside symlinked folders. |
@brandoncurtis and @mullenkamp please give me your drive version information, but I can guess that is pretty recent because @brandoncurtis joined in not so long ago :) I should investigate this real quick because inspecting huge amounts of files is very hard and bugs like this are disastrous. I think I have a hunch on what could be tripping out and I'll investigate probably tonight or tomorrow evening. If you have the luxury of time, would you mind helping test out this commit d51dc09 with a small test of symlinked dirs that you could have created $ cd $GOPATH/src/github.com/odeke-em/drive
$ git reset --hard d51dc091ac9a3a74a1c38d83a5acbd64b3df87c7
$ go get github.com/odeke-em/drive If this doesn't create duplicate paths then most of the suspicions of symlink resolution creating multiple paths have been confirmed. This probably then originated from the feature request to resolve symlinks fully but then the original manifest was probably not cleaned up. I'll dig more later on. |
I have drive version 0.1.6. I'll put that commit through its paces tonight, on an Apps for Edu account so I don't have to worry about space! |
Nice, I have one provided by my school too and they are very generous with space. For sure, thank you. |
I actually haven't been using drive too much lately. So, no. |
@mullenkamp and @brandoncurtis please get the latest source or take a look at e071b36. Previously, when using |
Closing this. Please re-open if persists. |
I'm not sure how this has happened, but duplicate files are showing up in my Google Drive web interface. These files have both the same name and the same checksum.
I'll try to see if I can nail down an easy, step-by-step way to reproduce this. I can say the following things for sure:
drive push
command.Maybe this is related to #56?
The text was updated successfully, but these errors were encountered: