mirror of
https://github.com/vbatts/go-mtree.git
synced 2024-12-22 22:06:29 +00:00
Vincent Batts
6d8cd9fe4c
Piggybacking on `-result-format`: ```bash $ tar c .git/ | gomtree -c -T - > git.mtree $ gomtree -result-format=json -list-used -f ./git.mtree { "./git.mtree": [ "type", "mode", "uid", "gid", "tar_time", "size" ] } $ tar c .git/ | gomtree -c -T - -K sha512digest > git.mtree $ gomtree -result-format=json -list-used -f ./git.mtree { "./git.mtree": [ "type", "mode", "uid", "gid", "tar_time", "size", "sha512digest" ] } ``` Signed-off-by: Vincent Batts <vbatts@hashbangbash.com> |
||
---|---|---|
.. | ||
main.go |