One of the disadvantages of the "Backup Copy" action in the Save Actions plugin (mentioned [in the Wiki](https://wiki.geany.org/config/all_you_never_wanted_to_know_about_file_saving...)) is that it fills up the disk with an ever growing number of files. I think it would be nice if there was an option to only keep the last `N` versions of a file.
It would require enumerating the backup directory to find all the files with the specific pattern `filename.ext.date/time` to find the oldest to delete. That probably won't be noticed when the backup is on a local SSD but may have an effect if the backups are on networked file servers. It might be possible to enumerate the backups once on startup so long as the user never deletes the backups themselves.
Anyhow somebody has to do it, pull requests are welcome.
github-comments@lists.geany.org