kdave / btrfs-progs

Development of userspace BTRFS tools
GNU General Public License v2.0
527 stars 239 forks source link

`subvolume create`: accept multiple arguments #695

Closed kdave closed 7 months ago

kdave commented 8 months ago

Follwoup from https://github.com/kdave/btrfs-progs/issues/429#issuecomment-1005197147 .

Accept multiple arguments for the subvolume create command to allow shell expansions and path substitutions, like

btrfs sub create -P /home/<user>/{.cache,.local/share/{libvirt/images,Trash}}

As the subvolumes are created, following arguments can refer to the paths. The qgroup inheritance applies to all.

kdave commented 7 months ago

Now in devel.