Live data from Hacker News

Cleaning up my 200GB iCloud with some JavaScript

andykong.org

141–150 of 192 posts

Re: Cleaning up my 200GB iCloud with some JavaScript

#141

Earlier quoted context omitted.

As someone who has a Proxmox cluster at home (storage on RAIDZ, hot backups with PBS, cold backups on external HDDs) I literally recommend cloud storage for most people that ask me about backup solutions as it's simply not worth it for the average user. Those people already have all their data in the cloud anyways and share it on Facebook et al and they don't really care about the privacy side. Remember it's not just…

Yeah I have always backed up to external drives and had cloud storage. But now I learn there isn’t rot, so I have to either build a RAID and have refresh software that rewrites and validates, or just buys a new drive every 3 years and backup all over again. And that’s a simple setup.

[dead]

Re: Cleaning up my 200GB iCloud with some JavaScript

#142

Photos.app doesn't show file size… so I thought, why not build a little Photos.app extension or a separate app that queries for large files? Turns out that the API doesn't expose "file size", at least I didn't find a straight-forward way. I think that all "photos" or "videos" are just a view of the underlying "photo or video object". If you crop a video, the full-size video will remain. Only if you export the video,…

Since you're willing to write since code apparently: have you checked the internal databases? They're just sqlite, moderately understandable at a glance last time I looked.

Re: Cleaning up my 200GB iCloud with some JavaScript

#143
post #69

Earlier quoted context omitted.

>So as a consumer, do I just wave my hands and keep throwing more and more money at the problem, Yes. I can go and buy 1TB of Microsoft OneDrive or 2TB of Google Drive for less than a Franklin a year, and most people won't even need 1TB let alone 2TB. Both Microsoft and Google also offer 100GB plans for a Jackson a year, which is what I purchase myself. The average person can get by paying a Washington per month to A…

> For the downvoters, consider this: If I were to manage all this myself, I would need at least three storage mediums with one being a different form factor to satisfy the 3-2-1 backup scheme. I would also need to procure arrangements for that third backup copy in the 3-2-1 scheme. And I would need to spend time managing it all. > That is going to cost me more than a Franklin per year. Life is short, my time is preci…

>6TB for a family is not unreasonable and that's what?

Microsoft in particular has a 6TB for $100/year family plan, sharable with up to 5 other family members for a total of 6 persons each with 1TB. Google's plans can all also be shared with up to 5 other family members, though their bytes-per-dollar can't compete with that particular Microsoft family plan.

Basically: Local storage with personal management needs to be very easy, cheap, and carefree (which it isn't) to compete practically with cloud storage.

The only exception is if one's needs are niche and specific. I actually have a Synology NAS at home that I keep most of my data on, but that's because my data is mostly "bottle of rum" and "Linux ISO" in nature and thus not something I can throw on cloud storage in the first place.

Re: Cleaning up my 200GB iCloud with some JavaScript

#144
post #142

Photos.app doesn't show file size… so I thought, why not build a little Photos.app extension or a separate app that queries for large files? Turns out that the API doesn't expose "file size", at least I didn't find a straight-forward way. I think that all "photos" or "videos" are just a view of the underlying "photo or video object". If you crop a video, the full-size video will remain. Only if you export the video,…

Since you're willing to write since code apparently: have you checked the internal databases? They're just sqlite, moderately understandable at a glance last time I looked.

Side note, been a while sense i looked, is there a sqlite db for the contacts table?

Re: Cleaning up my 200GB iCloud with some JavaScript

#145
post #142

Photos.app doesn't show file size… so I thought, why not build a little Photos.app extension or a separate app that queries for large files? Turns out that the API doesn't expose "file size", at least I didn't find a straight-forward way. I think that all "photos" or "videos" are just a view of the underlying "photo or video object". If you crop a video, the full-size video will remain. Only if you export the video,…

Since you're willing to write since code apparently: have you checked the internal databases? They're just sqlite, moderately understandable at a glance last time I looked.

Looks promising - will look into it!

Re: Cleaning up my 200GB iCloud with some JavaScript

#147
post #144
post #142

Earlier quoted context omitted.

Since you're willing to write since code apparently: have you checked the internal databases? They're just sqlite, moderately understandable at a glance last time I looked.

Side note, been a while sense i looked, is there a sqlite db for the contacts table?

Yes

Re: Cleaning up my 200GB iCloud with some JavaScript

#148
post #48

Earlier quoted context omitted.

Really? How? I can only jump from 50 GB to 200 GB when I look at the available plans

Actually I may be wrong there. I was on 200Gb with Apply Family but have stuck 50GB on top of that for £0.99 month. I can only swap that out for a 200GB increment. This is weird because I'm sure you used to be able to do that.

You can stack the storage of your iCloud subscription on top of your Apple One subscription, once.

>After you subscribe to Apple One, you can buy more iCloud storage if you need more. With both Apple One and an iCloud+ plan, you can have up to 14TB of total iCloud storage.

https://support.apple.com/en-us/108104

Re: Cleaning up my 200GB iCloud with some JavaScript

#149
post #131

I’ve been on a similar hunt. My devices are littered with copies of videos that were shared via iMessage, WhatsApp, and other means. Each of these apps then store the copy locally which then gets backed up in iCloud. Unfortunately I haven’t found a way to automatically delete all the videos/photos that I send which still have the original in the photo stream. It would be awesome to be able to automate that.

This isn't perfect, nor automated, but you can search the Messages app for photos/videos and delete them all. Assuming you've saved them already, this should clear up some iCloud space.

https://www.igeeksblog.com/how-to-use-smart-search-filters-i... https://www.igeeksblog.com/delete-multiple-imessage-photos-a...

Re: Cleaning up my 200GB iCloud with some JavaScript

#150
post #67

Earlier quoted context omitted.

iCloud Photos has deduplication

Yeah I ran it and shrunk my library by half. It was kinda scary since I had 100000 photos, I couldn’t really inspect the process

I've used an app called PhotoSweeper[1]. It can access your Photos library directly. You can manually review them side-by-side or let it run automatically. You can also set thresholds of % similarity to reduce false removals. I believe it can also move the duplicates into a separate album for review later.

https://apps.apple.com/us/app/photosweeper/id463362050?mt=12

Post reply on HN