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

Update Move Originals code to contain rules for differing devices #51

Open makingglitches opened 2 years ago

makingglitches commented 2 years ago

If an originals directory is on a seperate physical disk, add logic to allow user to configure whether files can be moved across devices or what to do if there is no onserver organization directory on the originals physical location.

Idea could be that an 'onserver' directory could be created on the same disk, and an entry added to ImageDirectories, or explicitly there could be a flag to allow the file to be moved.

This is very low priority now. By default it will now just move the items across disks, since the MoveItems method has been updated to copy and then delete the source file to the other device.

makingglitches commented 2 years ago

additional problem, the mount-point module which uses df doesn't quite work as I would want it to. I therefore added a file which process /proc/self/mounts

all over again. leave shit alone assholes.

commented out moveItems as I need the code working now, so if this gets committed its in error.