marubinotto / Piggydb

Piggydb is a Web notebook application that provides you with a platform to build your knowledge personally or collaboratively.
http://piggydb.net/
Apache License 2.0
149 stars 35 forks source link

How do I delete file fragments? #23

Open bkidwell opened 7 years ago

bkidwell commented 7 years ago

I attached a file and then I deleted the reference to it in its parent text fragment. It still exists on disk.

How do I find and delete this orphaned file fragment? Is there a command to delete orphans? Do orphans get garbage collected automatically?

I am using Piggydb verseion 7.0

dev72 commented 6 years ago

you should delete the file fragment, not only references to it in text fragments. Then you go in trash and delete all fragments in it and also files on disk will be deleted.