btrfs/bsl

This commit is contained in:
Marc Beninca 2024-04-01 13:52:51 +02:00
parent 074d9d5a73
commit d2ba729c13
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

7
bash/btrfs.sh Normal file
View file

@ -0,0 +1,7 @@
function bsl {
if [ "${1}" ] ; then
btrfs subvolume list "${1}" \
| cut -d ' ' -f 9 \
| sort
fi
}