Project

General

Profile

Actions

Bug #1547

closed

Directories in timeshift buffer not removed

Added by Dmitry Avsioukov over 12 years ago. Updated over 12 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
Timeshift
Target version:
-
Start date:
2013-01-18
Due date:
% Done:

100%

Estimated time:
Found in version:
3.3.391~g7f89b3d-dirty
Affected Versions:

Description

Minor one.
Timeshift is on-demand.

Start watching channel A - a new directory with numeric name is created immediately under timeshift/buffer (let's call it N).
Switch to channel B - directory N+1 is created, directory N remains (not deleted).
Use timeshift on channel B (pause/resume etc), files are written to directory N+1
Switch to channel C - directory N+2 is created, directory N+1 along with all files in it gets deleted (this is correct).

When I zap channels without using timeshift, I end up with tens of empty directories under timeshift/buffer.

I expect either no directory created unless I actually use timeshift (preffered) or at least those empty directories gets deleted after channel change even if I didn't use timeshift and no files were created in it.

This minor since does not affect watching/timeshifting, but I think it needs to be fixed anyways, these directories look so useless.

Actions

Also available in: Atom PDF