From 52e9b44965f86167ed0fe8640bd79b1b65fad22a Mon Sep 17 00:00:00 2001 From: Alex Jacobs Date: Mon, 13 Jul 2020 11:04:02 -0700 Subject: [PATCH] Update faq page about `remove_old_backups()` This command has been tested on osx mojave running tmux on iTerm2 with zsh. The delete command was taken from: https://stackoverflow.com/a/34862475/3044358 --- docs/faq.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/faq.md b/docs/faq.md index 91a6b9e..7ba3d83 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -23,9 +23,7 @@ You should now be restored to the time when `` save happened. > Will this plugin fill my hard disk? -Most likely no. A regular save file is in the range of 5Kb. That said, it -would be good to clean out old save files from `~/.tmux/resurrect/` dir from -time to time. +Most likely no. A regular save file is in the range of 5Kb. And `tmux-resurrect` already has a `remove_old_backups()` routine that will ["remove resurrect files older than 30 days, but keep at least 5 copies of backup."](https://github.com/tmux-plugins/tmux-resurrect/blob/da1a7558024b8552f7262b39ed22e3d679304f99/scripts/save.sh#L271-L277) > How do I change the save interval to i.e. 1 hour?