Skip to content
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

Feature request: Duplicate upload notification for all directories #2858

Closed
jasonbayton opened this issue Dec 25, 2016 · 1 comment
Closed

Comments

@jasonbayton
Copy link
Member

I'd like a way to have the server flag a duplicate uploaded file against any folder on the server, maybe through a DB query or directory scan.

Scenario:

I've uploaded several folders of photos, then organised them into Occasion > Year > Month directories.
Forgetting to delete the folders I'd uploaded, I later plan on re-uploading them, but with everything organised into subfolders, they'll all re-uploaded brand new at the top-most level.

That's not ideal when uploading several gigs, but it's also a nice-to-have generally so I don't end up duplicating files already uploaded for no good reason.

It's very much a nice to have rather than a deal breaker, but if it's an option that could be implemented without much hassle (it already exists within the current directory) and I could enable it through a setting that would be wonderful!

@MorrisJobke
Copy link
Member

It's nearly impossible to do this properly in a performant way. First we need to have checksums to find easily such files.

I guess this is for a very long time out of scope here.

Sorry to say so: but even filesystems have a hard time to properly do de-duplication.

Feel free to comment here if you thing it is nonetheless the way we really should go, but I will close this for now.

cc @karlitschek

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants