mwilck / btrfs-clone

A tool for copying a btrfs file system with all its subvolumes to another btrfs file system
GNU General Public License v2.0
117 stars 17 forks source link

Support subvolumes with spaces #10

Closed flungo closed 11 months ago

flungo commented 4 years ago

Add support for subvolumes which might have spaces in their name. The subvolume name is the last field in the subvolume list so if whitespace is present after the start of this field it is part of the subvolume name. This sets maxsplit=3 so that it will be split into 4 fields.