however, --min-age does not seem to be correctly interpreted, i think the date of the file “old” impact and if it is more than 3 days old, then all its contents are deleted.
n this example we realize that it removes everything, whereas I asked to delete only the elements older than an hour …
rclone delete "\\server\BACKUP\old" --min-age 1h --dry-run -vv
2019/03/14 14:06:56 DEBUG : --min-age 1h0m0s to 2019-03-14 13:06:56.386377 +0100 CET m=-3599.984929399
2019/03/14 14:06:56 DEBUG : rclone: Version "v1.43.1" starting with parameters ["rclone" "delete" "\\\\server\\BACKUP\\old" "--min-age" "1h" "--dry-run" "-vv"]
2019/03/14 14:06:56 INFO : Waiting for deletions to finish
2019/03/14 14:06:56 NOTICE: 14-03-2019 9h59m46s/IDENTIFIANTS.FIC: Not deleting as --dry-run
2019/03/14 14:06:56 NOTICE: 14-03-2019 9h59m46s/INFOS_LISTE.ndx: Not deleting as --dry-run
2019/03/14 14:06:56 NOTICE: 14-03-2019 9h59m46s/INFOS_LISTE.FIC: Not deleting as --dry-run
2019/03/14 14:06:56 NOTICE: 14-03-2019 9h59m46s/SYNCHRONISATIONS_INFOS.FIC: Not deleting as --dry-run
2019/03/14 14:06:56 NOTICE: 14-03-2019 9h59m46s/LICENCES.FIC: Not deleting as --dry-run
2019/03/14 14:06:56 NOTICE: 14-03-2019 9h59m46s/LICENCES.ndx: Not deleting as --dry-run
2019/03/14 14:06:56 NOTICE: 14-03-2019 9h59m46s/SYNCHRONISATIONS.FIC: Not deleting as --dry-run
2019/03/14 14:06:56 NOTICE: 14-03-2019 9h59m46s/TRAITEMENTS.FIC: Not deleting as --dry-run
2019/03/14 14:06:56 NOTICE: 14-03-2019 9h59m46s/TRAITEMENTS.ndx: Not deleting as --dry-run
2019/03/14 14:06:56 NOTICE: 14-03-2019 14h05m44s/LICENCES.FIC: Not deleting as --dry-run
2019/03/14 14:06:56 NOTICE: 14-03-2019 14h05m44s/IDENTIFIANTS.FIC: Not deleting as --dry-run
2019/03/14 14:06:56 NOTICE: 14-03-2019 14h05m44s/INFOS_LISTE.FIC: Not deleting as --dry-run
2019/03/14 14:06:56 NOTICE: 14-03-2019 14h05m44s/INFOS_LISTE.ndx: Not deleting as --dry-run
2019/03/14 14:06:56 NOTICE: 14-03-2019 14h05m44s/LICENCES.ndx: Not deleting as --dry-run
2019/03/14 14:06:56 NOTICE: 14-03-2019 14h05m44s/SYNCHRONISATIONS_INFOS.FIC: Not deleting as --dry-run
2019/03/14 14:06:56 NOTICE: 14-03-2019 14h05m44s/TRAITEMENTS.FIC: Not deleting as --dry-run
2019/03/14 14:06:56 NOTICE: 14-03-2019 14h05m44s/TRAITEMENTS.ndx: Not deleting as --dry-run
2019/03/14 14:06:56 NOTICE: 14-03-2019 9h59m46s/Mise à jour/C-AGENT - MiseAJour - Compte-rendu.TXT: Not deleting as --dry-run
2019/03/14 14:06:56 NOTICE: 14-03-2019 14h05m44s/Mise à jour/C-AGENT - MiseAJour - Compte-rendu.TXT: Not deleting as --dry-run
2019/03/14 14:06:56 DEBUG : 2 go routines active
2019/03/14 14:06:56 DEBUG : rclone: Version "v1.43.1" finishing with parameters ["rclone" "delete" "\\\\server\\BACKUP\\old" "--min-age" "1h" "--dry-run" "-vv"]
I think I understood, the folder14-03-2019 14h05m44s corresponds to the moment of my backup, and therefore when moving these files.
my last date of changes to my files is 14/03/2019 09h59m that’s why my filter is not good.
I should be able to indicate that I want to keep the last 3 folderfor example …
If you are looking for a new feature, you can always open up an issue on the github as a feature request.
If your goal is to make backups and versions and such, perhaps try https://restic.net/ or something along those lines that handles backup and such much better.