Git Product home page Git Product logo

Comments (2)

johanneszab avatar johanneszab commented on May 17, 2024

I don't know if you have considered this, but regardless of the outcome of the above, I think doing duplication checks based on the md5 hash rather than the filename can address all of the above.

I know, but for doing this you'd have to first download the file otherwise you cannot get the md5 hash. That's why I've never considered this. I actually wanted to save the network bandwidth not the disk space. During the TumblTwo development I've thought to implement a global list containing all md5 sums of all downloaded files from all blogs and compare the downloaded files against it and if they would match to delete the file again. But I thought it's unnecessary. DupeGuru can probably do that better anyways. I'm not sure, it's still possible to do for those people who might want to have each file just once.

And for the larger files option, yeah, it will downloaded the file twice if the filename including the size after the dash differs. It's probably worth to implement it to just save the name without any suffix (e.g. tumblr_o7p5ei4iGh7qjlsrio1), excluding the files extension and the pixel size, but for that, I'd have to write a database updater first. That's why I've not done it. So the best it do either enable it for new blogs only, or just leave it off. I doubt there will be too many files where is resolution is actually better.

from tumblthree.

sbobbo avatar sbobbo commented on May 17, 2024

Alright, great. Thanks for the clarification!

from tumblthree.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.