diff --git a/bash/btrfs.sh b/bash/btrfs.sh new file mode 100644 index 0000000..2513eda --- /dev/null +++ b/bash/btrfs.sh @@ -0,0 +1,7 @@ +function bsl { + if [ "${1}" ] ; then + btrfs subvolume list "${1}" \ + | cut -d ' ' -f 9 \ + | sort + fi +}