Sign inSign up

wzaldivar/silverbullet

By wzaldivar

•Updated about 1 year ago

My own SilverBullet build that includes removal of empty dirs on file deletion

Image
0

144

wzaldivar/silverbullet repository overview

⁠Note

The original motivation for this custom build — automatic removal of empty parent directories upon file deletion — has now been officially merged into the main SilverBullet repository.

This image (wzaldivar/silverbullet:v2) will remain available for experimentation and testing, but for production use, you can safely switch to the official SilverBullet release.


Custom build of SilverBullet:

Automatically removes empty parent directories after deleting a file.

Useful if you organize notes in deeply nested folders and want to avoid leftover empty directories (a common issue when renaming or deleting deeply nested files).

Examples:

  • moving/renaming foo/bar to foobar/data will try to delete directory foo
  • deleting foo/bar/extra/data will try to delete foo/bar/extra

Based on the official v2 release; only change is in file deletion logic (core-level, not plugin).

Published under the v2 tag.

Tag summary

Content type

Image

Digest

sha256:73a366387…

Size

90.4 MB

Last updated

about 1 year ago

docker pull wzaldivar/silverbullet:v2