Keeping kDrive Tidy Despite iOS

Reading Time: 3 minutes

One of the many iOS flaws is that if you download photos and videos it defaults to throwing them into your photo album, whether they're yours, and that's why it's good to tidy up. For the tidying up effort today I used ffprobe, find and the kDrive desktop drive, as well as terminal and a secure shell.

The premise is that as you're living your life, activity friends, family and apps like TikTok all post files, that you might or might not download intentionally. I'd recommend downloading them intentionally. We'll cover this shortly.

RSYNC

Due to having at least two phones over the years I had two folders with photos that needed to be consolidated. I used rsync to consolidate both folders and then deleted the 8plus folder that no longer had a reason to be.

FFProbe

I started the day with the premise that apple Photos took .mov videos and apps like Whatsapp, Signal and TikTok used mp4 files. I used find to clear up the mess of MP4 files, and got them sorted chronologically. I was pleasantly surprised to see that whatsapp and other files were sorted into their own folders.

It's with disappointment that I noticed that TikTok saves part of the messy files as .mov files. If I used exiftool then I could setup a filter "if video files do not mention iphone, add them to sorted, and leave the others as they are". The issue is that exiftool is slow.

I asked Euria for help and it suggested FFProbe so I experimented with it. I told it, find all non 1920,1080 videos and move them to sorted, so it wrote a shell script to do that. It worked well enough but I still double checked what it had moved. Eventually, when I got to videos that I shot in 4K I asked it to widen what it kept, so it re-wrote the shell script.

For once I sorted each year, one at a time, from 2023-2026. It was fast, and effective. In some cases I rescued files from the sorted folder that I wanted to keep.

My rational behind creating a "sorted" folder, per month, was so that I could then get a script to move the "sorted" video files chronologically into the "chaff" folder that I setup this morning.

If I had done this with exiftool or manually it would have taken ages. By getting a simple tool to do this task it took seconds per year.

Much Tidier

The photos backup folder that syncs from my phone to kDrive, and from kDrive to my desktop started the day without about 400gb of files. After some quick tidying this morning, thanks to shell scripts and the command line I got it down to 90GB.

The next step is to reconcile those 90GB of photos with the main photo library I have. Once the two are merged my kDrive phone photos backup folder could be nearly empty.

And Finally

One of the key advantages of using kDrive, rather than Google Photos, Apple Photos, Flickr and other cloud solutions is that you can tidy directly from the command line with a few practical prompts. Doing the same in a web browser takes hours. I know because I tried.

Having a local copy of what's in the cloud allows you to clean up within minutes, for free. No need for expensive apps. You're in full control. Once you're done it propagates back to the server.

TLDR

I mention kDrive but Google Drive, iCloud, One Drive and most other solutions offer the same flexibility. If you store photos within folders and files, rather than photos app, data migration is simplified.

#ffprobe #find #infomaniak #iOS #kdrive

@jotten @diekenbrock

Ich teste gerade noch #kdrive #ksuite von infomaniak. Fußt wohl auch auf nextcloud, Recht günstig, Schweiz, aber leider die Fotoverwaltung/Synchronisation macht mir zu schaffen, wenn ich was Google vergleichbares suche...das Löschen müsste manuell erfolgen. Sonst ne feine Sache

@AlienJay @pallenberg
Hast du dir mal #kSuite #kDrive von infomaniak angeschaut? Ich bin auch noch am Abwägen und unschlüssig...

Migrating to kDrive from Flickr, Apple and Google Photo Clouds

Reading Time: 4 minutes

As I write this my consolidated photo album is being uploaded to kDrive, to serve as an offsite backup but the journey to this point took about two weeks, due in part to experimentation and learning to use various tools.

Tools I used

  • rsync
  • Google Takeout
  • Flickr Export
  • jdupe
  • Gemini
  • Euria
  • Le Chat, by Mistral

Work Flow

The first step is to request your data from Google Photos via the Google Takeout Tool, the Flickr Export tool for flickr, and to download all your photos locally from Apple Photos before disconnecting the local library from iCloud. Disconnecting Photos from iCloud gives you 30 days to realise you made a terrible mistake and fix it.

Export and organise

The next step is to unzip the Google Taekout files in one place, and the flickr export in another place. You want to keep the tree structure created by the zips for the next part.

Exiftool

Exiftools is a command line tool. Google Takeout and Flickr Export may detach metadata from your photos and add them to json files. Exiftools writes the exif data back into your photo files. If you ask Gemini or other AI solution for help it will provide you with the command you need to use. Request a dry run, and get the dry run to write to a text file to double check that it does what you expect.

Keep the zip files as they are. If you make a mistake it's good to have them on hand. Downloading 50 GB files from Google Takeout takes time.

With Flickr it's even more critical because Flickr generates 2gb files. I created a script to automatically download my 168 files.

Once you are happy that exiftool is behaving as expected you can run the command for real. Both of these steps take time so let them run in the background.

Google Takeout

Google takeout generates albums in three key ways, by individual names if you used face recognition, event name if you created an album, and by year, automatically. You will have two to three copies of some photos. In some directories you will only find json files.

When exiftool has run you can backup or delete the json files. If you have the zip files, then you're safe.

Flickr

When I expanded the Flickr zips it created a monoolithic directory with all the photos. I ran exiftools to marry json data with the photos.

Apple Photos

If you want to extract photos from Apple Photos quickly the quickest solution is to right click, show package contents, navigate to originals, and copy photos to another directory. You will need to use exiftool to create a directory where they are sorted by year, month day, and then you can run jdupe and add them to your main library.

Looking for Duplicates and Creating Chronological Libraries

With the data added by Exiftool we can now organise the photos chronologically. The issue is that we have event photos in albums, and the same event photos in the year folder. That's where jdupe comes in. It allows us to automatically compare photos within a directory before removing the duplicate copies.

Once this is done we can organise all the photos chronologically. This makes comparing photos much easier. It also adds a human accessible way of organising photos by year, month and day.

We repeat this step for Google Takeout and Flickr so that we end up with two clean chronological libraries.

The next step is to run jdupe again. This time we're comparing Flickr to Google Photos. The reason for this is that in an ideal world we have a perfect mirror, with both libraries being complete. In reality we might have interrupted payment to flickr, or Google photos so we have gaps. That's why we look for duplicates, before merging unique photos into our main photo library.

Tools such as rsync will help you merge the two libraries into the main library, as well as backup the clean library to a second hard drive on an external hard drive or on another device.

The kDrive migration

If you have not already done so, install the kDrive app and log in. Open the app and navigate to your library's folder and tell kdrive to sync the folder. It will then start copying the data to your cloud. Now you wait for it to be done.

Cleanup and Looking Forward

Once the main library is synced to kDrive I can delete two photos folders from kDrive and my local machine. I can tell kDrive on my phone to sync to the new library folder on kDrive.

That Synching Feeling

For now:

  • Photosync adds photos to photoprism
  • immich app adds photos to Immich
  • kDrive app uploads to kDrive storage

Photoprism and Immich Watching

Both Photoprism and Immich allow you to watch an import folder(photoprism) or external library (immich). If you set the main library as a watch folder then new photos uploaded to kdrive will be added to the main library, and photoprism and Immich will add them to their own libraries. Unselect the "move" option to keep the chronological library intact.

And Finally

With jdupe, exiftool and rsync you can go from having three photo libraries wittled down to just one. You can then tell kdrive desktop to watch and sync that folder. You can use rsync to mirror the library to two or three other drives and filesystems. I have APFS, APFS (case sensitive) and ext4. I also have an offsite backup via kDrive.

#Apple #exiftool #Google #infomaniak #jdupe #kdrive #photos #rsync #takeout

🌪️ I used my trial kDrive (https://www.infomaniak.com/en/ksuite/kdrive) to send the video files yesterday. Blazing fast.

1TB will set me back €19/year. Seems incredibly fair. Can’t figure out why some people pay almost that, a month, to use something like WeTransfer.

You can always use the free SwissTransfer (https://www.swisstransfer.com/en-us), by the same crew, but you don’t end up with one backup by default. With kDrive, your files are saved until you delete them. No expiration date.

I’ve used my Koofr account in the past, with success, but uploading speed is not brilliant. I won’t stop using it for long term storage, but these euros are SO worth it, for time saved (less headaches) alone. Perfect for day to day stuff.

I might have, finally, found a way to use one of their services. Paid for a year.

#kDrive #apps #cloud
☁️ https://maique.eu/posts/2026-02-06-i-used-my

@MarcVolquardsen @matteagle Kurzes Feedbak: Habe das jetzt so abonniert und eingerichtet. Dropbox-Transfer von knapp 300 GB dauerte ein Weilchen, hat aber reibungs- und wohl auch verlustfrei geklappt. Nochmal Danke! 👍🏻👍🏻👍🏻
Aber: Jetzt ein Problemchen: die kDrive App scheint nicht unter Linux Mint, nur Ubuntu oder Gnome, zu laufen.
Gibt's da vl. nen Trick?
#kDrive #Linux

Migrating Photos to Photoprism Via Rsync

Reading Time: 2 minutes

I downloaded my photographs from Google Photos via Google Takeout before using Exiftool to repopulate the exif metadata. Once this was done, I had to move the files from the mac to the Raspberry Pi running photoprism. For this I used rsync because it can run in the background as you sleep.

The Rsync command

The command is rsync -avzP /source/ user@remote_host:/destination/

-a is for the archive mode

  • v is verbose. It tells you what it's doing
    -z compresses data to save a little on bandwidth
    -P gives you a progress report in the form n/total number of files.

The Process

With Photoprism I moved the files from the takeout folder, in full, to the import folder in Photoprism. As there were a lot of files I let it run overnight.

This morning I opened Photoprism in the browser and chose to import the folder, making sure to have "move" selected. With "move" selected files that are finished with are deleted from the import folder to keep things tidy.

Resume

The advantage of using rsync is that if either machine crashes, or if the transfer is interrupted you can resume from where the issue occurred. I had to resume once during a previous transfer.

Remember, don't ask Photoprism to import the directory until all the photos have been ingested, because if you do it might transfer the same files over and over.

Integration with Kdrive Photo Backup

I automatically backup the photos from my phone to kdrive, and from kdrive I back them up to a local hard drive. With Rsync I can transfer the files from the local backup to photoprism to ensure that I have a complete backup.

The Photosync app for Android and iOS works well, but it can take hours, if not days to back up photos especially if the originals are stored in iCloud and they need to be downloaded back to the phone before being uploaded to Photoprism, and Immich.

By using Kdrive to backup all photos locally and using rsync to transfer them to the Photoprism import folder you're saving time, especially given that iOS devices have storage limitations.

The other advantage is that it doesn't alter exif information. The files are only moved from one device to another, not altered.

And Finally

Whilst transferring files with Rsync takes hours, and importing those files into Photoprism also takes hours, all of the work is done without the need for human intervention.

#kdrive #photoprism #rsync
@thom nebst dem eigenen #kDrive bietet #Infomaniak auch das Hosting von #NextCloud an: https://www.infomaniak.com/de/support/faq/2162/owncloud-oder-nextcloud-schnell-installieren. Die Installation funktioniert rasch und zuverlässig. Ich selbst nutze KDrive intensiv, es funktioniert einwandfrei.
🚀 OwnCloud (oder Nextcloud) schnell installieren -...

Dieser Leitfaden erklärt, wie Sie ownCloud (oder Nextcloud, eine verbesserte Version von Owncloud) in wenigen Klicks auf den bezahlten Webhosting-Angeboten...

@thomschm @Boerps ich habe es jetzt auf #kDrive von #infomaniak aus der Schweiz gezogen. Sie bieten sogar einen Dropbox Import an.
Mich hat überzeugt, dass sie Clients für alle Plattformen haben.

https://www.infomaniak.com/de/ksuite/kdrive

kDrive – Sicherer Online-Speicher in einer vollständig unabhängigen Cloud

Speichern, teilen und synchronisieren Sie Ihre Dateien sicher in einer unabhängigen Cloud. Schützen Sie Ihre Daten und arbeiten Sie über OnlyOffice oder Microsoft 365 zusammen.

How I Switched from iCloud Photos to Ksuite+ and Immich

Reading Time: 2 minutes

Yesterday I turned off iCloud Photo synching, and then I wiped my photos from iCloud Photos but before that I took several precautions.

Triple Backup to Apple Devices with Enough Storage

The first precaution I took was to ensure that the Photos app on a mac was downloading all the original photos locally. While this task was taking place I also got an iPhone 8+ and an older iPad to backup my photos locally to their hard drives.

Backup to Immich and Kdrive

Months ago I synced all of the photos on my phone to Immich. I also got Kdrive to sync my library. In both of these cases I had to keep the apps on a special screen that ensures that backup is not interrupted. After doing this overnight, one app at a time, I had another backup.

Backup from Kdrive to a Local Hard Drive

I setup Kdrive to backup my files from the cloud to a local hard drive. There are two reasons for this.

The first reason is that for me, a cloud solution must make it as easy to get data out of the cloud, as in to it. iCloud and Google Photos do not. I will elaborate on this soon.

The second reason is that with kDrive photos are backed up with their exif data and filenames intact. This means that you're transferring the files as is, rather than digested like both iCloud Photos and Google Photos do.

Photoprism, iCloud Photos, Google Photos and Flickr

Both iCloud Photos and Google Photos strip data from the photos and create a chaotic system of files that you need specialist tools to repair. Photoprism has a tool for Google Photos to resolve the issue created by Google Photos. It has another for Apple Photos and Flickr.

KDrive and Immich

In an ideal world you take photos, and they sync to Immich without issues, via the iPhone or Android app. One day you upgrade the docker container and the app breaks, and you need to reimport thousands of photos once again. That's where the local Kdrive photo backup comes in.

Kdrive Phone Photo Backups

When you backup your photos with the Kdrive app you backup to a folder, and this folder has your photos organised by day or month, depending on how granular you choose for the folder struture to be. You can then import your photos from your local machine to your immich instance with all of the exif info intact. This includes, date, time, location and much more.

And Finally

For 67 CHF per year I have access to Ksuite+ and 6TB of storage. With iCloud it would cost 30 CHF per month or 360 CHF per year. Kdrive meets requirements that iCloud photos does not. It allows me to backup photos to my computer with ease, and it offers me plenty of headroom.

I never had a desire to spend 10 CHF per year. I was happy with Google One and their 2TB plan until I found Infomaniak and their 6TB plan for 67 CHF or so.

And Finally, I regularly see ads encouraging people to just delete their photos, and only keep a few. As a media asset manager/archivist I believe that people should keep and cherish their photos. iCloud Photos doesn't meet my requirements, which is why I slid to open source solutions.

#Apple #backup #icloud #infomaniak #iOS #iPhone #kdrive #photo #sync