btrfs/bsl
This commit is contained in:
parent
074d9d5a73
commit
d2ba729c13
1 changed files with 7 additions and 0 deletions
7
bash/btrfs.sh
Normal file
7
bash/btrfs.sh
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
function bsl {
|
||||||
|
if [ "${1}" ] ; then
|
||||||
|
btrfs subvolume list "${1}" \
|
||||||
|
| cut -d ' ' -f 9 \
|
||||||
|
| sort
|
||||||
|
fi
|
||||||
|
}
|
Loading…
Reference in a new issue