1
0
mirror of https://github.com/gryf/pygtktalog.git synced 2025-12-17 11:30:19 +01:00

Added new command 'fsck', which will:

- search for Image objects which have not File relation
- same goes for Thumbnail objects
- search for files which doesn't exist neither as Thumbnail nor Image objects
- remove those files from filesystem
- remove empty directories

The last one will need improvements, since it's looking for leafs directory in
filesystem tree. Although workaround is to repeat fsck command, until it
report 0 empty directories removed.
This commit is contained in:
2016-11-17 18:46:46 +01:00
parent 33a8f99d48
commit 25740ea1dc
2 changed files with 208 additions and 90 deletions

View File

@@ -34,6 +34,7 @@ New version of pyGTKtalog was meant to use multiple interfaces.
* update it
* list
* find files
* fsck (for maintenance for orphaned thumbs/images)
#. ``gtktalog.py``. This is written from scratch frontend in pygtk. Still work
in progress.