sh/shell/alias/btrfs.sh

57 lines
447 B
Bash
Raw Normal View History

2024-11-16 15:48:48 +00:00
bfdf() {
btrfs \
filesystem \
df \
"${@}"
}
2024-01-05 08:49:18 +00:00
2024-11-16 15:48:48 +00:00
bfdu() {
btrfs \
filesystem \
du \
--summarize \
"${@}"
}
2024-01-05 08:49:18 +00:00
2024-11-16 15:49:41 +00:00
bfu() {
btrfs \
filesystem \
usage \
"${@}"
}
2024-01-05 08:49:18 +00:00
2024-11-16 15:55:31 +00:00
bpg() {
btrfs \
property \
get \
"${@}"
}
2024-01-05 08:49:18 +00:00
2024-11-16 15:53:19 +00:00
bsc() {
btrfs \
subvolume \
create \
"${@}"
}
2024-01-05 08:49:18 +00:00
2024-11-16 15:53:19 +00:00
bsd() {
btrfs \
subvolume \
delete \
"${@}"
}
2024-01-20 22:40:49 +00:00
2024-11-16 15:53:19 +00:00
bss() {
btrfs \
subvolume \
snapshot \
"${@}"
}
2024-01-05 08:49:18 +00:00
2024-11-16 15:53:19 +00:00
bssr() {
btrfs \
subvolume \
snapshot -r \
"${@}"
}