sh/shell/alias/btrfs.sh
2024-11-16 16:55:31 +01:00

56 lines
447 B
Bash

bfdf() {
btrfs \
filesystem \
df \
"${@}"
}
bfdu() {
btrfs \
filesystem \
du \
--summarize \
"${@}"
}
bfu() {
btrfs \
filesystem \
usage \
"${@}"
}
bpg() {
btrfs \
property \
get \
"${@}"
}
bsc() {
btrfs \
subvolume \
create \
"${@}"
}
bsd() {
btrfs \
subvolume \
delete \
"${@}"
}
bss() {
btrfs \
subvolume \
snapshot \
"${@}"
}
bssr() {
btrfs \
subvolume \
snapshot -r \
"${@}"
}