Sync files from a specific date onwards

Hello there,

I have my camera folder on my phone manually backed up. Now I want syncthing to backup my photos and videos but not the entire folder but only from let us say 1st of November 2021.

So no files prior to 1st of November 2021 in that folder should by synced.

Is this possible?

Unfortunately, no.

Android typically saves pictures as something similar to IMG_yyyyMMdd_HHmmss.jpg, so I think it should still be possible to use ignore patterns to achieve the wanted result :slightly_smiling_face:.

Maybe something like this?

// Sync between 2030 and 2099
!(?i)IMG_20[3-9]*
// Sync between 2022 and 2029
!(?i)IMG_202[2-9]*
// Sync 202111 and 202112
!(?i)IMG_20211[1-2]*
// Ignore the rest
(?d)*

Just scribbled this down really quick, so it may not work, and also could probably be simplified.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.