These are my personal scripts used to manage my MergerFS storage.
This is a "fork" of mergerfs.dedup
from
mergerfs-tools. I changed
the include/exclude patterns to match against the full path.
I used this to look for files that existed on multiple drives and compare
them, to make sure there was no corruption (I didn't find any).
It is based on mergerfs.fsck
from
mergerfs-tools.
I don't intend to use this long-term; I would rely on the corruption checking in btrfs or something like scorch.
I used this when moving files from older storage. I had initially copied some of the files without preserving timestamps, so I used this script to fix them. It copies access and modifications times from one directory tree to another (only for those files that exist in both).