Skip to content

Commit 52e9b44

Browse files
committed
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
1 parent b84edbc commit 52e9b44

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/faq.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ You should now be restored to the time when `<file_name>` save happened.
2323

2424
> Will this plugin fill my hard disk?
2525
26-
Most likely no. A regular save file is in the range of 5Kb. That said, it
27-
would be good to clean out old save files from `~/.tmux/resurrect/` dir from
28-
time to time.
26+
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)
2927

3028
> How do I change the save interval to i.e. 1 hour?
3129

0 commit comments

Comments
 (0)