makingglitches / GooglePhotoDownload

Connects to Google Photos and downloads all content, keeping track of original data on disk and moving files only on the computer and already on server to respective directories, and tries to download the entire collection and store size info for quicker startup as well as original file sizes of those on disk, downloading the files still on disk first so they can be freed up. Supports multiple user accounts. Its just a better mousetrap. Google Takeout prepares whole archives of photos, this allows you to download them separately and keep track of some statistics as well on space usage.
6 stars 4 forks source link

Check against directory structure for downloaded files #43

Open makingglitches opened 3 years ago

makingglitches commented 3 years ago

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

makingglitches commented 2 years ago

Should probably integrate this into a simple frontend.

makingglitches commented 2 years ago

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.

makingglitches commented 2 years ago

added stores table and added some values to testing.

makingglitches commented 2 years ago

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.

makingglitches commented 2 years ago

55 has to be completed first.