ok, and the diepi-sync does not actually detects changes right, just copies folders and filesonce per day, it does not overwrite files? I have a photo library with many gigs, so I only want never files to be copied.
What I would like I an automatic copying of files from folder1 to folder2 when there is a new file on folder1. But not all files
What about using dietpi-cron to change this?
As I read it in /etc/cron.daily/dietpi the dietpi-sync is similar handled like dietpi-backup. The selection of the execution time of dietpi-backup is described there: DietPi tools - DietPi.com Docs.
I guess it basically should also work for dietpi-sync.
But if a daily backup is not “quick” enough you might also use the dietpi-sync part in /etc/cron.daily/dietpi and put it within an own /etc/dietpi.hourly script (I would not recommend doing this via /etc/cron.minutely…).
Syncthing would make this setup very easy I think. You can install Möbius Sync on your iPhone, which is the iPhone version of the Syncthing client. Then you can set up your photos to automatically sync when you are on WiFi, or on your home LAN, or whatever–no need to bother manually uploading anymore if you don’t want to.