by Daniel Murphy
This flow moves all files before a number of days (60 by default) from the DCIM folder into an archive folder. It Separates picturesand videosinto seperate folders. Once the files have been moved, It triggers Onesync to upload and delete, thus emptying the local archive folders and leaving only the last x days of pictures and videos remaining on the phone. Modify the variables at flow beginning: number_of_days (only files older than this number if days moved). This flow requires the Onesync app and a OneDrive account that has enough space for your media files. You need to configure Onesync to sync the archive subfolders, and use the"sync and delete" option.