Open makingglitches opened 3 years ago
Should probably integrate this into a simple frontend.
This is mainly to prevent redownload of files that have been moved and possibly better organized or even renamed. the check should look at the filesize first, and search for likely matches in case of rename. its the binary contents that matter after all. also competing device chronologies can cause file overwrite, so obviously renaming things is at times important. this should be a separate process the user has to manually kick off, and have a stores table that indicates toplevel directories to search through.
added stores table and added some values to testing.
added attribute to allow a store to be specified as 'authoratative' meaning files by name and size will be treated as the files being looked for with no hashing.
Add a feature to allow the user to specify a directory to search for to discover original and downloaded files to update the database from