btrfs filesystem

Manage btrfs filesystems. More information: https://btrfs.readthedocs.io/en/latest/btrfs-filesystem.html.

btrfs filesystem usage path/to/btrfs_mount

sudo btrfs filesystem show path/to/btrfs_mount

sudo btrfs filesystem defragment -v path/to/file

sudo btrfs filesystem defragment -v -r path/to/directory

sudo btrfs filesystem sync path/to/btrfs_mount

sudo btrfs filesystem du --summarize path/to/directory