Skip to content

Instantly share code, notes, and snippets.

@FNGarvin
Last active February 7, 2026 15:02
Show Gist options
  • Select an option

  • Save FNGarvin/c225c2738748d144420e4cda29658dff to your computer and use it in GitHub Desktop.

Select an option

Save FNGarvin/c225c2738748d144420e4cda29658dff to your computer and use it in GitHub Desktop.
Directory manifest generation script - compare two directories, skipping .git and models subdirs
rm -f manifest_aware.txt ; find . \( -name .git -o -name models -o -name .venv -o -name __pycache__ -o -name manifest* \) -prune -o -type f -exec sha256sum {} + | sort -k 2 > manifest_dir1.txt
rm -f manifest_aware.txt ; find . \( -name .git -o -name models -o -name .venv -o -name __pycache__ -o -name manifest* \) -prune -o -type f -exec sha256sum {} + | sort -k 2 > manifest_dir2.txt
etc, then inspect, diff, or compare checksums of the two manifests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment