This commit is contained in:
Marc Beninca 2024-11-12 06:30:26 +01:00
parent 763d199cde
commit abb6ed3a26
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

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