Skip to content

feat: add --stats #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

chapmanjacobd
Copy link

@chapmanjacobd chapmanjacobd commented May 2, 2022

looks like this:

$ sudo btrfs subvolume snapshot -r ~/d/ ~/d/.snapshots/two
$ sudo btrfs send --no-data -p ~/d/.snapshots/one/ /mnt/d/.snapshots/two/ > /tmp/diff_file
$ ./bin/btrfs-snapshots-diff-summary.py -f /tmp/diff_file --stats
Commands:
1790787	utimes
1546893	set_xattr
520245	unlink
497927	link
69900	update_extent
30723	rename
27325	chown
27325	chmod
22684	mkfile
8064	rmdir
4641	mkdir
8	remove_xattr
3	truncate
1	snapshot
1	end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant