Skip to content

Commit 4f2bc93

Browse files
authored
Merge pull request #77 from lexjacobs/patch-1
Update faq.md to reflect that `tmux-resurrect` already prunes the backup directory.
2 parents b84edbc + 52e9b44 commit 4f2bc93

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)