rwx/sh/btrfs.sh
2024-11-18 12:22:08 +01:00

8 lines
176 B
Bash

bsl() { sh_btrfs_subvolume_list "${@}"; }
sh_btrfs_subvolume_list() {
if [ -n "${1}" ]; then
btrfs subvolume list "${1}" |
cut --delimiter " " --fields 9 |
sort
fi
}