Find all ZFS snapshots containing a file or directory.
$ zfs-find-snapshots fileA
tank@2024-01-01
tank@2024-01-02
tank@2024-01-03$ zfs-find-snapshots <file|directory>$ zfs-find-snapshots <file|directory> | xargs -I {} zfs destroy
⚠️ Note: This operation may cause data loss! Ensure you know what you're doing.