CmdID

CmdID / Commands

btrfs-filesystem

Manage btrfs filesystems. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Show filesystem usage (optionally run as root to show detailed information)

btrfs [f [u path/to/btrfs_mountIdentify

Show usage by individual devices

sudo btrfs [f [sh path/to/btrfs_mountIdentify

Defragment a single file on a btrfs filesystem (avoid while a deduplication agent is running)

sudo btrfs [f [de --verbose path/to/fileIdentify

Defragment a directory recursively (does not cross subvolume boundaries)

sudo btrfs [f [de --verbose -r path/to/directoryIdentify

Force syncing unwritten data blocks to disk(s)

sudo btrfs [f [sy path/to/btrfs_mountIdentify

Summarize disk usage for the files in a directory recursively

sudo btrfs [f du --summarize path/to/directoryIdentify

Create a swap file

sudo btrfs [f [m --size 8g --uuid clear path/to/swapfileIdentify