Skip to content

A way to verify uploaded content using file managers. #29

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

Open
vegedb opened this issue Nov 22, 2024 · 5 comments
Open

A way to verify uploaded content using file managers. #29

vegedb opened this issue Nov 22, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@vegedb
Copy link

vegedb commented Nov 22, 2024

I'm using file manager to upload, its uploads INSTANTLY.
And using bmon, you can see the activity (network speed) as seen below 25MB/s.
image

The only problem is, I can't see a way to verify. I've tried going to photos app and try deleting it (if its uploaded, it will not show a warning).
Funny thing is, some photos CAN be deleted without any warning which tells me the photos are already being checked. But I can't replicate it anymore.
Anyway to get photos app to do that "check" or a command to force it to cross check with cloud?

@master-hax
Copy link
Owner

master-hax commented Nov 25, 2024

the only way i know how to do it right now is to manually go lookup the media, download it, then hash it against the original.

to do it in bulk, the only ways i know how are google takeout (which is bad because you have to download the whole library in 50gb every time) and gphotosdl

my current plan is to automate the process using the headless browser approach from gphotosdl

@RoboCrafty
Copy link

I'm using file manager to upload, its uploads INSTANTLY. And using bmon, you can see the activity (network speed) as seen below 25MB/s. image

The only problem is, I can't see a way to verify. I've tried going to photos app and try deleting it (if its uploaded, it will not show a warning). Funny thing is, some photos CAN be deleted without any warning which tells me the photos are already being checked. But I can't replicate it anymore. Anyway to get photos app to do that "check" or a command to force it to cross check with cloud?

Could you please explain what you mean by you’re using file managers to upload? After mounting my ext4 hdd and using a media scanner app I can’t really get reliable uploads. It quite often just says it’s getting ready to backup but never does a thing. I notice my hdd indicator light is just static which means it’s not reading anything. If I try to load the photos by going through to the folders in a file manager it does start blinking and I can see the video.
@master-hax any suggestions?

@master-hax
Copy link
Owner

the "getting ready to backup" seems to read through all the media without doing any writing.

@RoboCrafty if you are using a hard disk drive, i suggest you try with a faster storage medium like a flash drive or an SSD.

@master-hax master-hax added the enhancement New feature or request label Mar 11, 2025
@master-hax
Copy link
Owner

btw i started looking into this. so far, my best solution is to download photos from takeout and record the sha256 hash of every file. then, i can delete any local file with a matching sha256 hash. i wrote a small tool that automates this.

@master-hax
Copy link
Owner

i ended up using my tool to verify & delete 4tb+ of media from my drive

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

No branches or pull requests

3 participants